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.001152/0.001152, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.001196/0.001196, allocations: 191 kB / 17.34 MB, free: 5.602 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.756/0.756, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 66.59 kB / 0.568 GB, free: 29.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1411, allocations: 77.93 MB / 0.6441 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001876/0.143, allocations: 0.5883 MB / 0.6447 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.1434, allocations: 63.84 kB / 0.6447 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.1434, allocations: 4 kB / 0.6447 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.1434, allocations: 3.938 kB / 0.6447 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.1435, allocations: 11.98 kB / 0.6448 GB, free: 8.938 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.1438, allocations: 43.88 kB / 0.6448 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.1439, allocations: 23.92 kB / 0.6448 GB, free: 8.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.386e-05/0.144, allocations: 4 kB / 0.6448 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.144, allocations: 19.92 kB / 0.6448 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.1442, allocations: 59.94 kB / 0.6449 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1443, allocations: 3.938 kB / 0.6449 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1444, allocations: 43.95 kB / 0.645 GB, free: 8.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.718e-05/0.1444, allocations: 12 kB / 0.645 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.1445, allocations: 31.8 kB / 0.645 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1446, allocations: 64.06 kB / 0.6451 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1447, allocations: 0 / 0.6451 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1447, allocations: 0 / 0.6451 GB, free: 8.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.1447, allocations: 3.938 kB / 0.6451 GB, free: 8.633 MB / 494.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.0004493/0.1451, allocations: 361.4 kB / 0.6454 GB, free: 8.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1452, allocations: 12.62 kB / 0.6454 GB, free: 8.219 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.1452, allocations: 46.67 kB / 0.6455 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.1453, allocations: 8.891 kB / 0.6455 GB, free: 8.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1454, allocations: 168.3 kB / 0.6456 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1454, allocations: 4.375 kB / 0.6456 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1454, allocations: 4.375 kB / 0.6456 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.1457, allocations: 181.1 kB / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1457, allocations: 0 / 0.6458 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1457, allocations: 3.984 kB / 0.6458 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-05/0.1458, allocations: 31.92 kB / 0.6458 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.1458, allocations: 35.91 kB / 0.6459 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.1465, allocations: 0.9102 MB / 0.6468 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.1466, allocations: 165.5 kB / 0.6469 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.1467, allocations: 88.16 kB / 0.647 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1467, allocations: 75.28 kB / 0.6471 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.1467, allocations: 117.8 kB / 0.6472 GB, free: 6.234 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.1468, allocations: 0 / 0.6472 GB, free: 6.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 9.683e-05/0.1469, allocations: 37.59 kB / 0.6472 GB, free: 6.191 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/0.147, allocations: 387.7 kB / 0.6476 GB, free: 5.738 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.1472, allocations: 166.8 kB / 0.6478 GB, free: 5.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1472, allocations: 25.7 kB / 0.6478 GB, free: 5.535 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.1473, allocations: 151.5 kB / 0.6479 GB, free: 5.383 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-06/0.1473, allocations: 11.98 kB / 0.6479 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.1474, allocations: 57.66 kB / 0.648 GB, free: 5.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1475, allocations: 318.8 kB / 0.6483 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.1475, allocations: 27.97 kB / 0.6483 GB, free: 4.961 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.1477, allocations: 224.2 kB / 0.6485 GB, free: 4.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.148, allocations: 201.7 kB / 0.6487 GB, free: 4.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.148, allocations: 0 / 0.6487 GB, free: 4.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003247/0.1483, allocations: 189.3 kB / 0.6489 GB, free: 4.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1483, allocations: 11.94 kB / 0.6489 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1483, allocations: 4 kB / 0.6489 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1484, allocations: 8.594 kB / 0.6489 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1485, allocations: 43.92 kB / 0.649 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1485, allocations: 8 kB / 0.649 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.604e-05/0.1486, allocations: 23.84 kB / 0.649 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1487, allocations: 16 kB / 0.649 GB, free: 4.082 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 0.0001366/0.1488, allocations: 212.9 kB / 0.6492 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.309e-05/0.1489, allocations: 120.9 kB / 0.6493 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.581e-05/0.1489, allocations: 116.8 kB / 0.6494 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.11e-05/0.149, allocations: 184.2 kB / 0.6496 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.341e-05/0.1491, allocations: 176.3 kB / 0.6498 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.61e-05/0.1492, allocations: 188.2 kB / 0.65 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002406/0.1494, allocations: 421.2 kB / 0.6504 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.488e-05/0.1495, allocations: 105 kB / 0.6505 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.1495, allocations: 104.9 kB / 0.6506 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.506e-05/0.1496, allocations: 189.4 kB / 0.6508 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.1497, allocations: 180.2 kB / 0.6509 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-05/0.1497, allocations: 184.2 kB / 0.6511 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/0.1498, allocations: 176.3 kB / 0.6513 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1499, allocations: 319.7 kB / 0.6516 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/0.15, allocations: 190 kB / 0.6518 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.1501, allocations: 180.2 kB / 0.6519 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.1502, allocations: 109.3 kB / 0.652 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1503, allocations: 184.2 kB / 0.6522 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.1503, allocations: 105 kB / 0.6523 GB, free: 496 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.1504, allocations: 120.9 kB / 0.6524 GB, free: 376 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1504, allocations: 0 / 0.6524 GB, free: 376 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1508, allocations: 28 kB / 0.6525 GB, free: 348 kB / 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.0005012/0.1513, allocations: 0.832 MB / 0.6533 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1514, allocations: 75.78 kB / 0.6533 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1514, allocations: 0 / 0.6533 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.1515, allocations: 4 kB / 0.6533 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.152, allocations: 474.4 kB / 0.6538 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.1525, allocations: 274.2 kB / 0.6541 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1528, allocations: 0.6968 MB / 0.6547 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002157/0.153, allocations: 48.61 kB / 0.6548 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.1531, allocations: 23.42 kB / 0.6548 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.1531, allocations: 0 / 0.6548 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.173, allocations: 2.934 MB / 0.6577 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.784, allocations: 14.91 kB / 0.6577 GB, free: 11 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)