Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_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.007747/0.007747, allocations: 100.3 kB / 15.73 MB, free: 6.477 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.001861/0.001861, allocations: 192.5 kB / 16.67 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.011/1.011, allocations: 143 MB / 433.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.89 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4657, allocations: 82.03 MB / 0.6752 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001537/0.4673, allocations: 0.6026 MB / 0.6758 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.4676, allocations: 68.25 kB / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.4676, allocations: 0 / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.129e-05/0.4676, allocations: 5.75 kB / 0.6759 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.4677, allocations: 10.98 kB / 0.6759 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.468, allocations: 45.77 kB / 0.6759 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.4681, allocations: 27.48 kB / 0.6759 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.4681, allocations: 2.656 kB / 0.676 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.4682, allocations: 11.41 kB / 0.676 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.4684, allocations: 62.28 kB / 0.676 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.4684, allocations: 1.25 kB / 0.676 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.86e-05/0.4685, allocations: 41.67 kB / 0.6761 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.852e-05/0.4685, allocations: 20.52 kB / 0.6761 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.4686, allocations: 22.25 kB / 0.6761 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4687, allocations: 70 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4687, allocations: 1.094 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4687, allocations: 0 / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4687, allocations: 3.938 kB / 0.6762 GB, free: 440 kB / 0.4981 GB 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.0003027/0.469, allocations: 361.6 kB / 0.6765 GB, free: 52 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4691, allocations: 8.812 kB / 0.6765 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.803e-05/0.4691, allocations: 39.25 kB / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.4692, allocations: 9.156 kB / 0.6766 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.4693, allocations: 169.2 kB / 0.6767 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4693, allocations: 5.406 kB / 0.6767 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.4693, allocations: 6.359 kB / 0.6767 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.4696, allocations: 171.4 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4696, allocations: 3.938 kB / 0.6769 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4696, allocations: 6.312 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.4697, allocations: 27.47 kB / 0.6769 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.4697, allocations: 40 kB / 0.677 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.4704, allocations: 0.9067 MB / 0.6779 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.67e-05/0.4705, allocations: 166.2 kB / 0.678 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.4705, allocations: 84.14 kB / 0.6781 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.4706, allocations: 80.27 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/0.4706, allocations: 115.9 kB / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4706, allocations: 0 / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.383e-05/0.4707, allocations: 35.83 kB / 0.6783 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/0.4709, allocations: 389.2 kB / 0.6787 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.4711, allocations: 168.3 kB / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.4711, allocations: 28.02 kB / 0.6789 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.118e-05/0.4712, allocations: 147.6 kB / 0.679 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-06/0.4712, allocations: 1.219 kB / 0.679 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.991e-05/0.4713, allocations: 61.06 kB / 0.6791 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4714, allocations: 317.2 kB / 0.6794 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.878e-05/0.4715, allocations: 31.88 kB / 0.6794 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.4717, allocations: 225.1 kB / 0.6796 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4719, allocations: 197.5 kB / 0.6798 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4719, allocations: 1.344 kB / 0.6798 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003236/0.4723, allocations: 195.4 kB / 0.68 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4723, allocations: 8.906 kB / 0.68 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4723, allocations: 3.656 kB / 0.68 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4723, allocations: 15.16 kB / 0.68 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4725, allocations: 38.2 kB / 0.6801 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4725, allocations: 6.125 kB / 0.6801 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.4726, allocations: 26.5 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.4726, allocations: 10.06 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB 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.0001518/0.4728, allocations: 215.5 kB / 0.6803 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.4728, allocations: 110.8 kB / 0.6804 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.4729, allocations: 131.1 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.874e-05/0.473, allocations: 185.3 kB / 0.6807 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.204e-05/0.4731, allocations: 177.4 kB / 0.6809 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.871e-05/0.4731, allocations: 181.3 kB / 0.6811 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4734, allocations: 424.6 kB / 0.6815 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.4734, allocations: 105 kB / 0.6816 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.4735, allocations: 110 kB / 0.6817 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-05/0.4736, allocations: 181.2 kB / 0.6819 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.4736, allocations: 189.2 kB / 0.682 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.519e-05/0.4737, allocations: 177.5 kB / 0.6822 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.901e-05/0.4738, allocations: 185.4 kB / 0.6824 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.4739, allocations: 311.5 kB / 0.6827 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.474, allocations: 189.1 kB / 0.6829 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.4741, allocations: 186.4 kB / 0.683 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.4742, allocations: 108.3 kB / 0.6831 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.4743, allocations: 181.3 kB / 0.6833 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.4743, allocations: 106 kB / 0.6834 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.901e-05/0.4744, allocations: 116.6 kB / 0.6835 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4744, allocations: 0 / 0.6835 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003176/0.4747, allocations: 26.38 kB / 0.6835 GB, free: 8.82 MB / 0.5137 GB 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.000497/0.4752, allocations: 0.8395 MB / 0.6844 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.4754, allocations: 71.47 kB / 0.6844 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4754, allocations: 1.312 kB / 0.6844 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.4754, allocations: 1.375 kB / 0.6844 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4758, allocations: 472.1 kB / 0.6849 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.4763, allocations: 277.9 kB / 0.6852 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4766, allocations: 0.6908 MB / 0.6858 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.4768, allocations: 56.02 kB / 0.6859 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.4769, allocations: 26.67 kB / 0.6859 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4769, allocations: 0 / 0.6859 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.4958, allocations: 2.996 MB / 0.6888 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.911, allocations: 4.25 kB / 0.6888 GB, free: 4.98 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)