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.001209/0.001209, allocations: 97.28 kB / 15.69 MB, free: 480 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.001055/0.001055, allocations: 179.7 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.055/2.055, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.174/1.174, allocations: 113.7 MB / 405.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007085/0.0007089, allocations: 16 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.353, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001416/0.3545, allocations: 319.1 kB / 0.557 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006274/0.3552, allocations: 67.89 kB / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.3553, allocations: 0 / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.3554, allocations: 3.984 kB / 0.5571 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.3555, allocations: 4 kB / 0.5571 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.356, allocations: 35.95 kB / 0.5571 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3561, allocations: 23.97 kB / 0.5572 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3562, allocations: 0 / 0.5572 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.398e-05/0.3563, allocations: 23.92 kB / 0.5572 GB, free: 11.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003973/0.3567, allocations: 71.91 kB / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3567, allocations: 0 / 0.5573 GB, free: 11.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.3569, allocations: 35.91 kB / 0.5573 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.357, allocations: 19.92 kB / 0.5573 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.357, allocations: 29.7 kB / 0.5573 GB, free: 11.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3572, allocations: 39.94 kB / 0.5574 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3572, allocations: 4 kB / 0.5574 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.3573, allocations: 3.938 kB / 0.5574 GB, free: 11.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3573, allocations: 0 / 0.5574 GB, free: 11.04 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.0007135/0.358, allocations: 351.5 kB / 0.5577 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.429e-05/0.3581, allocations: 12.03 kB / 0.5577 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.807e-05/0.3582, allocations: 38.56 kB / 0.5578 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.826e-05/0.3583, allocations: 7.906 kB / 0.5578 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/0.3585, allocations: 167 kB / 0.5579 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.3585, allocations: 7.984 kB / 0.5579 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3586, allocations: 0 / 0.5579 GB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.3591, allocations: 186 kB / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3591, allocations: 0 / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.3591, allocations: 4 kB / 0.5581 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.756e-05/0.3592, allocations: 27.91 kB / 0.5581 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3594, allocations: 39.91 kB / 0.5582 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.3608, allocations: 0.8907 MB / 0.5591 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.361, allocations: 177.1 kB / 0.5592 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.044e-05/0.3611, allocations: 79.28 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.3612, allocations: 113.8 kB / 0.5594 GB, free: 8.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.3612, allocations: 0 / 0.5594 GB, free: 8.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001448/0.3614, allocations: 41.55 kB / 0.5594 GB, free: 8.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004037/0.3618, allocations: 391.7 kB / 0.5598 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.3621, allocations: 166.2 kB / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.3622, allocations: 29.7 kB / 0.56 GB, free: 8.035 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3624, allocations: 147.3 kB / 0.5601 GB, free: 7.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.3624, allocations: 0 / 0.5601 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.3624, allocations: 8 kB / 0.5602 GB, free: 7.879 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002685/0.3627, allocations: 318.8 kB / 0.5605 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.3628, allocations: 28.34 kB / 0.5605 GB, free: 7.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.3632, allocations: 217 kB / 0.5607 GB, free: 7.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.3635, allocations: 69.91 kB / 0.5608 GB, free: 7.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.3635, allocations: 4 kB / 0.5608 GB, free: 7.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005539/0.3641, allocations: 189.4 kB / 0.5609 GB, free: 6.965 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.3642, allocations: 9.562 kB / 0.561 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.3642, allocations: 7.953 kB / 0.561 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.3642, allocations: 8 kB / 0.561 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3645, allocations: 39.92 kB / 0.561 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.3645, allocations: 15.97 kB / 0.561 GB, free: 6.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.3647, allocations: 23.78 kB / 0.561 GB, free: 6.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.3648, allocations: 12.34 kB / 0.5611 GB, free: 6.852 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.0002358/0.365, allocations: 217 kB / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.3652, allocations: 112.8 kB / 0.5614 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3653, allocations: 112.9 kB / 0.5615 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001445/0.3655, allocations: 192.1 kB / 0.5617 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001313/0.3656, allocations: 176.3 kB / 0.5618 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/0.3657, allocations: 180.3 kB / 0.562 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.3662, allocations: 421.2 kB / 0.5624 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.222e-05/0.3663, allocations: 109 kB / 0.5625 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.3664, allocations: 104.9 kB / 0.5626 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.3665, allocations: 184.3 kB / 0.5628 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.3667, allocations: 184.5 kB / 0.563 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001206/0.3668, allocations: 184.2 kB / 0.5631 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001296/0.367, allocations: 188.2 kB / 0.5633 GB, free: 4.387 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3672, allocations: 311.7 kB / 0.5636 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.3674, allocations: 186 kB / 0.5638 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.3676, allocations: 192.2 kB / 0.564 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.3678, allocations: 105 kB / 0.5641 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3679, allocations: 188.2 kB / 0.5643 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/0.368, allocations: 101 kB / 0.5644 GB, free: 3.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001586/0.3682, allocations: 113.5 kB / 0.5645 GB, free: 3.141 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3682, allocations: 0 / 0.5645 GB, free: 3.141 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006241/0.3688, allocations: 28 kB / 0.5645 GB, free: 3.113 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.0008845/0.3697, allocations: 0.8249 MB / 0.5653 GB, free: 2.262 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.37, allocations: 76.59 kB / 0.5654 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.3701, allocations: 0 / 0.5654 GB, free: 2.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.3701, allocations: 3.938 kB / 0.5654 GB, free: 2.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.3707, allocations: 0.5355 MB / 0.5659 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.3717, allocations: 288.6 kB / 0.5662 GB, free: 1.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.3724, allocations: 0.6932 MB / 0.5668 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.3728, allocations: 60.36 kB / 0.5669 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.3729, allocations: 23.42 kB / 0.5669 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3729, allocations: 0 / 0.5669 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03817/0.4111, allocations: 2.748 MB / 0.5696 GB, free: 13.94 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.4116, allocations: 185.6 kB / 0.5698 GB, free: 13.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/3.525, allocations: 0 / 0.5698 GB, free: 13.7 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: