Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_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.00652/0.00652, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001612/0.001612, allocations: 197.4 kB / 16.79 MB, free: 6.242 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.294/1.294, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6605/0.6605, allocations: 115.3 MB / 406 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 72.3 kB / 493 MB, free: 6.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 76.18 MB / 0.5559 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001765/0.1257, allocations: 0.6598 MB / 0.5565 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.1261, allocations: 74.36 kB / 0.5566 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.1261, allocations: 0 / 0.5566 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.1262, allocations: 0 / 0.5566 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.239e-05/0.1262, allocations: 7.984 kB / 0.5566 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1265, allocations: 39.89 kB / 0.5566 GB, free: 9.918 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.369e-05/0.1265, allocations: 31.91 kB / 0.5566 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.1266, allocations: 4 kB / 0.5566 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.1266, allocations: 15.98 kB / 0.5567 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.1268, allocations: 67.86 kB / 0.5567 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1268, allocations: 3.984 kB / 0.5567 GB, free: 9.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.1269, allocations: 35.97 kB / 0.5568 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.127, allocations: 15.98 kB / 0.5568 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.127, allocations: 23.81 kB / 0.5568 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.1271, allocations: 67.78 kB / 0.5569 GB, free: 9.656 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1272, allocations: 0 / 0.5569 GB, free: 9.656 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1272, allocations: 0 / 0.5569 GB, free: 9.656 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1272, allocations: 4 kB / 0.5569 GB, free: 9.652 MB / 430.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.0003021/0.1275, allocations: 363.7 kB / 0.5572 GB, free: 9.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1275, allocations: 11.97 kB / 0.5572 GB, free: 9.234 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.1276, allocations: 38.75 kB / 0.5573 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.1276, allocations: 8.844 kB / 0.5573 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.1277, allocations: 168.3 kB / 0.5574 GB, free: 8.977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1277, allocations: 4.359 kB / 0.5574 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1277, allocations: 12.3 kB / 0.5575 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.128, allocations: 179.3 kB / 0.5576 GB, free: 8.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.128, allocations: 4 kB / 0.5576 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.128, allocations: 3.984 kB / 0.5576 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.1281, allocations: 27.91 kB / 0.5577 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.1281, allocations: 35.91 kB / 0.5577 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005935/0.1287, allocations: 0.8985 MB / 0.5586 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.1288, allocations: 169.1 kB / 0.5587 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.1288, allocations: 88.08 kB / 0.5588 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1289, allocations: 75.28 kB / 0.5589 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/0.1289, allocations: 113.8 kB / 0.559 GB, free: 7.262 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1289, allocations: 0 / 0.559 GB, free: 7.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 7.972e-05/0.129, allocations: 41.59 kB / 0.559 GB, free: 7.215 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.1291, allocations: 387.7 kB / 0.5594 GB, free: 6.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1293, allocations: 167.5 kB / 0.5596 GB, free: 6.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1293, allocations: 29.7 kB / 0.5596 GB, free: 6.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.751e-05/0.1294, allocations: 147.1 kB / 0.5597 GB, free: 6.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.1294, allocations: 8 kB / 0.5597 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.1295, allocations: 49.61 kB / 0.5598 GB, free: 6.344 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.1296, allocations: 326.8 kB / 0.5601 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.1296, allocations: 23.98 kB / 0.5601 GB, free: 5.992 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1298, allocations: 218.5 kB / 0.5603 GB, free: 5.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.13, allocations: 205.7 kB / 0.5605 GB, free: 5.418 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.13, allocations: 4 kB / 0.5605 GB, free: 5.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000272/0.1303, allocations: 189.4 kB / 0.5607 GB, free: 5.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1303, allocations: 8 kB / 0.5607 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1303, allocations: 4 kB / 0.5607 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1303, allocations: 11.94 kB / 0.5607 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1305, allocations: 43.92 kB / 0.5608 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1305, allocations: 4 kB / 0.5608 GB, free: 5.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.1306, allocations: 23.78 kB / 0.5608 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1306, allocations: 20.25 kB / 0.5608 GB, free: 5.109 MB / 430.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 0.0001128/0.1307, allocations: 217 kB / 0.561 GB, free: 4.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1308, allocations: 108.9 kB / 0.5611 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.1308, allocations: 124.8 kB / 0.5613 GB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.175e-05/0.1309, allocations: 180.2 kB / 0.5614 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.827e-05/0.1309, allocations: 180.3 kB / 0.5616 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/0.131, allocations: 184.2 kB / 0.5618 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1312, allocations: 421.2 kB / 0.5622 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/0.1312, allocations: 101 kB / 0.5623 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1313, allocations: 104.9 kB / 0.5624 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.098e-05/0.1313, allocations: 184.3 kB / 0.5625 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.1314, allocations: 188.1 kB / 0.5627 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.882e-05/0.1314, allocations: 180.2 kB / 0.5629 GB, free: 2.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.072e-05/0.1315, allocations: 180.2 kB / 0.5631 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1316, allocations: 315.7 kB / 0.5634 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.1317, allocations: 189.9 kB / 0.5636 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/0.1318, allocations: 192.2 kB / 0.5637 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.1319, allocations: 113.2 kB / 0.5638 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1319, allocations: 176.4 kB / 0.564 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.132, allocations: 109 kB / 0.5641 GB, free: 1.512 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.132, allocations: 121.3 kB / 0.5642 GB, free: 1.395 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.132, allocations: 0 / 0.5642 GB, free: 1.395 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003003/0.1323, allocations: 28 kB / 0.5643 GB, free: 1.367 MB / 430.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.0004224/0.1328, allocations: 0.8359 MB / 0.5651 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001319/0.1329, allocations: 76.59 kB / 0.5651 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1329, allocations: 0 / 0.5651 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1329, allocations: 0 / 0.5651 GB, free: 440 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003675/0.1333, allocations: 0.5341 MB / 0.5657 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1338, allocations: 292.6 kB / 0.5659 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.134, allocations: 0.6893 MB / 0.5666 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.1342, allocations: 56.38 kB / 0.5667 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.1342, allocations: 23.44 kB / 0.5667 GB, free: 14.77 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1342, allocations: 0 / 0.5667 GB, free: 14.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2544/0.3887, allocations: 2.876 MB / 0.5695 GB, free: 12.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.389, allocations: 202.7 kB / 0.5697 GB, free: 11.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.252, allocations: 3.938 kB / 0.5697 GB, free: 11.78 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)