Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 194.7 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 275 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8274/0.8274, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 95 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1257, allocations: 86.98 MB / 0.6796 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001392/0.1271, allocations: 0.6514 MB / 0.6802 GB, free: 432 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.1274, allocations: 75.78 kB / 0.6803 GB, free: 356 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.444e-05/0.1274, allocations: 4.469 kB / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.1274, allocations: 0 / 0.6803 GB, free: 352 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.1275, allocations: 10.64 kB / 0.6803 GB, free: 344 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.1277, allocations: 35.95 kB / 0.6803 GB, free: 308 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.383e-05/0.1277, allocations: 27.92 kB / 0.6803 GB, free: 280 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.888e-05/0.1278, allocations: 0 / 0.6803 GB, free: 280 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1278, allocations: 15.97 kB / 0.6804 GB, free: 264 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1279, allocations: 74.39 kB / 0.6804 GB, free: 192 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.128, allocations: 0 / 0.6804 GB, free: 192 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.128, allocations: 31.97 kB / 0.6805 GB, free: 160 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.1281, allocations: 19.92 kB / 0.6805 GB, free: 140 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.144e-05/0.1281, allocations: 31.8 kB / 0.6805 GB, free: 108 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.1282, allocations: 63.78 kB / 0.6806 GB, free: 44 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1282, allocations: 4 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1282, allocations: 0.7812 kB / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Performance of Transformations before backend: time 2.806e-06/0.1282, allocations: 0 / 0.6806 GB, free: 40 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002713/0.1285, allocations: 366.5 kB / 0.6809 GB, free: 15.63 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1286, allocations: 12.56 kB / 0.6809 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1286, allocations: 47.8 kB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.1286, allocations: 4.938 kB / 0.681 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.912e-05/0.1287, allocations: 168.3 kB / 0.6811 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1287, allocations: 5.312 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-06/0.1287, allocations: 384 / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1289, allocations: 188.1 kB / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1289, allocations: 0 / 0.6813 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1289, allocations: 4 kB / 0.6813 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.129, allocations: 27.91 kB / 0.6814 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.129, allocations: 39.91 kB / 0.6814 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.1295, allocations: 0.9061 MB / 0.6823 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.1296, allocations: 169.1 kB / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.303e-05/0.1296, allocations: 84.14 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.1297, allocations: 75.28 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1297, allocations: 109.8 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1297, allocations: 0 / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.276e-05/0.1298, allocations: 41.53 kB / 0.6827 GB, free: 13.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1299, allocations: 395.7 kB / 0.6831 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.13, allocations: 165.1 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.13, allocations: 25.7 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1301, allocations: 151.1 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.1301, allocations: 0 / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.1302, allocations: 57.61 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.1302, allocations: 318.8 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.1303, allocations: 27.98 kB / 0.6838 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1304, allocations: 222.5 kB / 0.684 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.1306, allocations: 205.7 kB / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1306, allocations: 0 / 0.6842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002366/0.1308, allocations: 197.2 kB / 0.6844 GB, free: 11.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.1308, allocations: 8 kB / 0.6844 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1309, allocations: 4 kB / 0.6844 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1309, allocations: 11.94 kB / 0.6845 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.131, allocations: 36.02 kB / 0.6845 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.131, allocations: 11.94 kB / 0.6845 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.1311, allocations: 20.28 kB / 0.6845 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1311, allocations: 12 kB / 0.6845 GB, free: 11.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.1312, allocations: 222.3 kB / 0.6847 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.1312, allocations: 112.8 kB / 0.6848 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1313, allocations: 116.8 kB / 0.685 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.382e-05/0.1313, allocations: 188.2 kB / 0.6851 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.18e-05/0.1314, allocations: 180.3 kB / 0.6853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/0.1314, allocations: 180.3 kB / 0.6855 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1316, allocations: 425.1 kB / 0.6859 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.1316, allocations: 105 kB / 0.686 GB, free: 9.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.1317, allocations: 104.9 kB / 0.6861 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/0.1317, allocations: 176.3 kB / 0.6863 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.1318, allocations: 188.2 kB / 0.6864 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-05/0.1318, allocations: 184.2 kB / 0.6866 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.096e-05/0.1319, allocations: 180.8 kB / 0.6868 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.846e-05/0.132, allocations: 307.7 kB / 0.6871 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.132, allocations: 190 kB / 0.6873 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.551e-05/0.1321, allocations: 192.4 kB / 0.6874 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.1322, allocations: 105 kB / 0.6875 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1322, allocations: 184.2 kB / 0.6877 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.1322, allocations: 109 kB / 0.6878 GB, free: 7.898 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.1323, allocations: 117.3 kB / 0.6879 GB, free: 7.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 0.6879 GB, free: 7.785 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1326, allocations: 32 kB / 0.688 GB, free: 7.754 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00032/0.1329, allocations: 0.832 MB / 0.6888 GB, free: 6.895 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.133, allocations: 72.41 kB / 0.6888 GB, free: 6.824 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.133, allocations: 4 kB / 0.6889 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.133, allocations: 0 / 0.6889 GB, free: 6.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.1333, allocations: 0.5263 MB / 0.6894 GB, free: 6.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003755/0.1337, allocations: 300.8 kB / 0.6897 GB, free: 5.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.1339, allocations: 0.6893 MB / 0.6903 GB, free: 5.242 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.1341, allocations: 60.56 kB / 0.6904 GB, free: 5.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.1341, allocations: 23.44 kB / 0.6904 GB, free: 5.164 MB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1341, allocations: 0 / 0.6904 GB, free: 5.164 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.331/2.465, allocations: 2.888 MB / 0.6932 GB, free: 2.43 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/2.465, allocations: 218.6 kB / 0.6934 GB, free: 2.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.376/5.841, allocations: 3.125 kB / 0.6934 GB, free: 2.172 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)