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.0007084/0.0007084, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007267/0.0007267, allocations: 169 kB / 16.58 MB, free: 6.062 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.195/1.195, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6029/0.6029, allocations: 113.7 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002542, allocations: 8 kB / 493.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1158, allocations: 77.12 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0005643/0.1164, allocations: 323.1 kB / 0.5572 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002377/0.1167, allocations: 71.8 kB / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.713e-05/0.1167, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.1167, allocations: 0 / 0.5573 GB, free: 11.22 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.1168, allocations: 4 kB / 0.5573 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.117, allocations: 31.97 kB / 0.5573 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.855e-05/0.117, allocations: 27.89 kB / 0.5573 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.49e-05/0.1171, allocations: 4 kB / 0.5573 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.384e-05/0.1171, allocations: 19.98 kB / 0.5574 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1173, allocations: 83.8 kB / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.1173, allocations: 0 / 0.5574 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.1174, allocations: 35.95 kB / 0.5575 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.1174, allocations: 11.94 kB / 0.5575 GB, free: 11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.1174, allocations: 33.7 kB / 0.5575 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.681e-05/0.1175, allocations: 47.92 kB / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1175, allocations: 0 / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1175, allocations: 0 / 0.5576 GB, free: 10.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.555e-06/0.1175, allocations: 0 / 0.5576 GB, free: 10.92 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.0002488/0.1178, allocations: 347.5 kB / 0.5579 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1178, allocations: 8.031 kB / 0.5579 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1179, allocations: 42.55 kB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.1179, allocations: 7.906 kB / 0.558 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.346e-05/0.118, allocations: 171 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.118, allocations: 3.984 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.118, allocations: 0 / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1182, allocations: 187.2 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.1182, allocations: 0 / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1182, allocations: 4 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.1183, allocations: 23.98 kB / 0.5583 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.667e-05/0.1184, allocations: 39.84 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.1189, allocations: 0.8908 MB / 0.5592 GB, free: 9.016 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.744e-05/0.119, allocations: 173.1 kB / 0.5594 GB, free: 8.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.119, allocations: 84.14 kB / 0.5595 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1191, allocations: 75.28 kB / 0.5596 GB, free: 8.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/0.1191, allocations: 117.8 kB / 0.5597 GB, free: 8.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1191, allocations: 0 / 0.5597 GB, free: 8.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.947e-05/0.1192, allocations: 33.61 kB / 0.5597 GB, free: 8.512 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.1193, allocations: 391.7 kB / 0.5601 GB, free: 8.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1195, allocations: 169 kB / 0.5602 GB, free: 7.883 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1195, allocations: 37.64 kB / 0.5603 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.1196, allocations: 147.3 kB / 0.5604 GB, free: 7.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-06/0.1196, allocations: 8 kB / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-06/0.1196, allocations: 0 / 0.5604 GB, free: 7.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1197, allocations: 322.8 kB / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.1197, allocations: 28.34 kB / 0.5608 GB, free: 7.332 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.1199, allocations: 219.3 kB / 0.561 GB, free: 7.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.12, allocations: 65.97 kB / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.12, allocations: 0 / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002518/0.1202, allocations: 193.7 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1203, allocations: 11.95 kB / 0.5612 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1203, allocations: 4 kB / 0.5612 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1203, allocations: 11.98 kB / 0.5612 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1204, allocations: 35.92 kB / 0.5613 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1204, allocations: 11.94 kB / 0.5613 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.1205, allocations: 27.78 kB / 0.5613 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1205, allocations: 12 kB / 0.5613 GB, free: 6.652 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.1206, allocations: 221.7 kB / 0.5615 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.1207, allocations: 108.9 kB / 0.5616 GB, free: 6.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.1207, allocations: 120.7 kB / 0.5618 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/0.1208, allocations: 180.3 kB / 0.5619 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.468e-05/0.1208, allocations: 184.2 kB / 0.5621 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/0.1209, allocations: 176.3 kB / 0.5623 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.1211, allocations: 429.2 kB / 0.5627 GB, free: 5.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.734e-05/0.1211, allocations: 104.9 kB / 0.5628 GB, free: 5.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1212, allocations: 101 kB / 0.5629 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.356e-05/0.1212, allocations: 180.4 kB / 0.563 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/0.1213, allocations: 184.2 kB / 0.5632 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.582e-05/0.1214, allocations: 184.2 kB / 0.5634 GB, free: 4.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.846e-05/0.1214, allocations: 188.2 kB / 0.5636 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1215, allocations: 307.7 kB / 0.5639 GB, free: 3.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.824e-05/0.1216, allocations: 194 kB / 0.5641 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.82e-05/0.1217, allocations: 180.2 kB / 0.5642 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.1218, allocations: 109 kB / 0.5643 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1218, allocations: 180.2 kB / 0.5645 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.1219, allocations: 108.9 kB / 0.5646 GB, free: 3.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.1219, allocations: 117.5 kB / 0.5647 GB, free: 2.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.122, allocations: 0 / 0.5647 GB, free: 2.945 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.1222, allocations: 32 kB / 0.5647 GB, free: 2.914 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.1227, allocations: 0.825 MB / 0.5656 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.1228, allocations: 80.53 kB / 0.5656 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1228, allocations: 448 / 0.5656 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1228, allocations: 4 kB / 0.5656 GB, free: 1.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1232, allocations: 0.5302 MB / 0.5662 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.1236, allocations: 298.1 kB / 0.5664 GB, free: 1.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1239, allocations: 0.6893 MB / 0.5671 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.124, allocations: 60.38 kB / 0.5672 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1241, allocations: 23.44 kB / 0.5672 GB, free: 324 kB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1241, allocations: 0 / 0.5672 GB, free: 324 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.1354, allocations: 2.758 MB / 0.5699 GB, free: 13.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1356, allocations: 190.2 kB / 0.5701 GB, free: 13.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/1.589, allocations: 6.391 kB / 0.5701 GB, free: 13.48 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/linux/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) Environment - environmentSimulation: