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.001208/0.001208, allocations: 110.2 kB / 15.99 MB, free: 6.352 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.001404/0.001404, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7431/0.7431, allocations: 115.3 MB / 406.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4341, allocations: 76.19 MB / 0.556 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001605/0.4357, allocations: 0.6542 MB / 0.5567 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002472/0.436, allocations: 82.81 kB / 0.5568 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.436, allocations: 0 / 0.5568 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.4361, allocations: 0 / 0.5568 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.379e-05/0.4361, allocations: 2.688 kB / 0.5568 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.4363, allocations: 38.64 kB / 0.5568 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.64e-05/0.4364, allocations: 34.14 kB / 0.5568 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.4364, allocations: 2.516 kB / 0.5568 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.4365, allocations: 19.41 kB / 0.5568 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.4366, allocations: 69.77 kB / 0.5569 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.4366, allocations: 0 / 0.5569 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.703e-05/0.4367, allocations: 38.81 kB / 0.5569 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.4368, allocations: 23.95 kB / 0.557 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.4368, allocations: 16.97 kB / 0.557 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.4369, allocations: 71.2 kB / 0.5571 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4369, allocations: 1 kB / 0.5571 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4369, allocations: 0 / 0.5571 GB, free: 35.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.4369, allocations: 0 / 0.5571 GB, free: 35.09 MB / 446.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.0002618/0.4372, allocations: 367.5 kB / 0.5574 GB, free: 34.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4372, allocations: 13.69 kB / 0.5574 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.4373, allocations: 40.78 kB / 0.5575 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.4373, allocations: 5.625 kB / 0.5575 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.168e-05/0.4374, allocations: 169.5 kB / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.4374, allocations: 384 / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.4374, allocations: 7.922 kB / 0.5576 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.4376, allocations: 180.6 kB / 0.5578 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4376, allocations: 0 / 0.5578 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4376, allocations: 10.19 kB / 0.5578 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.4377, allocations: 24.19 kB / 0.5578 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.452e-05/0.4377, allocations: 42.33 kB / 0.5579 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4382, allocations: 0.9058 MB / 0.5588 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.4382, allocations: 168.3 kB / 0.5589 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.4383, allocations: 84.08 kB / 0.559 GB, free: 33.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.4383, allocations: 76.62 kB / 0.5591 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.4383, allocations: 112.1 kB / 0.5592 GB, free: 33.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.4383, allocations: 1.156 kB / 0.5592 GB, free: 33.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.491e-05/0.4384, allocations: 40.45 kB / 0.5592 GB, free: 32.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.084e-05/0.4385, allocations: 390.8 kB / 0.5596 GB, free: 32.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.696e-05/0.4386, allocations: 162.2 kB / 0.5598 GB, free: 32.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.4386, allocations: 31.14 kB / 0.5598 GB, free: 32.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.4386, allocations: 143.9 kB / 0.5599 GB, free: 32.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-06/0.4386, allocations: 9.844 kB / 0.5599 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.4387, allocations: 55.22 kB / 0.56 GB, free: 32.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.4388, allocations: 324.1 kB / 0.5603 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.4388, allocations: 27.27 kB / 0.5603 GB, free: 31.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.4389, allocations: 220.8 kB / 0.5605 GB, free: 31.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4391, allocations: 211.4 kB / 0.5607 GB, free: 31.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4391, allocations: 2.062 kB / 0.5607 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000252/0.4393, allocations: 187.4 kB / 0.5609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.4393, allocations: 7.984 kB / 0.5609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4394, allocations: 4.188 kB / 0.5609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4394, allocations: 10.19 kB / 0.5609 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.4395, allocations: 43.95 kB / 0.561 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4395, allocations: 7.406 kB / 0.561 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.4396, allocations: 26.92 kB / 0.561 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4396, allocations: 9.688 kB / 0.561 GB, free: 31.3 MB / 446.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 8.062e-05/0.4397, allocations: 208.9 kB / 0.5612 GB, free: 31.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.4397, allocations: 122.6 kB / 0.5613 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.4398, allocations: 118.6 kB / 0.5614 GB, free: 30.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.331e-05/0.4398, allocations: 180.3 kB / 0.5616 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-05/0.4398, allocations: 183.4 kB / 0.5618 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.4399, allocations: 184.7 kB / 0.562 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.44, allocations: 421.2 kB / 0.5624 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.44, allocations: 108.2 kB / 0.5625 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.44, allocations: 107.2 kB / 0.5626 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/0.4401, allocations: 178.5 kB / 0.5627 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.4401, allocations: 184.8 kB / 0.5629 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.302e-05/0.4401, allocations: 186.6 kB / 0.5631 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.573e-05/0.4402, allocations: 183.7 kB / 0.5633 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.183e-05/0.4402, allocations: 316 kB / 0.5636 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.4403, allocations: 187.4 kB / 0.5638 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.4403, allocations: 186.3 kB / 0.5639 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.4404, allocations: 109.9 kB / 0.564 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.4404, allocations: 181.6 kB / 0.5642 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4405, allocations: 103 kB / 0.5643 GB, free: 27.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.79e-05/0.4405, allocations: 117.1 kB / 0.5644 GB, free: 27.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4405, allocations: 1.656 kB / 0.5644 GB, free: 27.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.4408, allocations: 26.94 kB / 0.5644 GB, free: 27.71 MB / 446.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.0002646/0.4411, allocations: 0.8332 MB / 0.5653 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.4412, allocations: 72.31 kB / 0.5653 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4412, allocations: 1.438 kB / 0.5653 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.4412, allocations: 0 / 0.5653 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4415, allocations: 471.8 kB / 0.5658 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.4419, allocations: 294.5 kB / 0.5661 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.4421, allocations: 0.6918 MB / 0.5667 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.4423, allocations: 56.3 kB / 0.5668 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.4423, allocations: 22.02 kB / 0.5668 GB, free: 25.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4423, allocations: 0 / 0.5668 GB, free: 25.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.481, allocations: 2.946 MB / 0.5697 GB, free: 25.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.481, allocations: 201 kB / 0.5699 GB, free: 24.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/3.185, allocations: 0 / 0.5699 GB, free: 24.91 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)