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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.9722/0.9722, allocations: 127.4 MB / 134.9 MB, free: 3.453 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 178.4 kB / 164.7 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.2 MB / 399.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008054/0.0008052, allocations: 99.34 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.146e-05, allocations: 5.406 kB / 0.5467 GB, free: 95.41 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 76.77 MB / 0.6216 GB, free: 42.93 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.256, allocations: 101.6 MB / 0.7209 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.2563, allocations: 75.95 kB / 0.721 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003277/0.2596, allocations: 1.261 MB / 0.7222 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.155e-06/0.2596, allocations: 0 / 0.7222 GB, free: 3.828 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2596, allocations: 0 / 0.7222 GB, free: 3.828 MB / 0.4948 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.0003088/0.26, allocations: 342.5 kB / 0.7225 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.26, allocations: 8.031 kB / 0.7225 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.2601, allocations: 15.86 kB / 0.7225 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2602, allocations: 171 kB / 0.7227 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2602, allocations: 0 / 0.7227 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.2602, allocations: 3.984 kB / 0.7227 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.822e-05/0.2603, allocations: 40.16 kB / 0.7227 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.2605, allocations: 148.2 kB / 0.7229 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2605, allocations: 4 kB / 0.7229 GB, free: 3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.2606, allocations: 4 kB / 0.7229 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.67e-05/0.2606, allocations: 23.91 kB / 0.7229 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.2612, allocations: 0.8716 MB / 0.7238 GB, free: 2.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.936e-05/0.2613, allocations: 169.1 kB / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.389e-05/0.2614, allocations: 80.14 kB / 0.724 GB, free: 1.785 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.2614, allocations: 79.22 kB / 0.7241 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/0.2615, allocations: 113.8 kB / 0.7242 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.2615, allocations: 0 / 0.7242 GB, free: 1.586 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 8.167e-05/0.2616, allocations: 35.77 kB / 0.7242 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.2617, allocations: 316.4 kB / 0.7245 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2618, allocations: 139.8 kB / 0.7247 GB, free: 1.023 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2619, allocations: 29.7 kB / 0.7247 GB, free: 0.9883 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.262, allocations: 151.2 kB / 0.7248 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.992e-06/0.262, allocations: 19.86 kB / 0.7249 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.262, allocations: 0 / 0.7249 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.2621, allocations: 318.8 kB / 0.7252 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.2621, allocations: 20.36 kB / 0.7252 GB, free: 488 kB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.2623, allocations: 210 kB / 0.7254 GB, free: 184 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.2624, allocations: 63.83 kB / 0.7254 GB, free: 120 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2624, allocations: 0 / 0.7254 GB, free: 120 kB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002696/0.2627, allocations: 165.2 kB / 0.7256 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2627, allocations: 4.656 kB / 0.7256 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2627, allocations: 8 kB / 0.7256 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.2628, allocations: 8 kB / 0.7256 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.2629, allocations: 39.92 kB / 0.7257 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2629, allocations: 4 kB / 0.7257 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.012e-05/0.263, allocations: 19.84 kB / 0.7257 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.263, allocations: 12 kB / 0.7257 GB, free: 15.86 MB / 0.5105 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 () * 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.0001123/0.2631, allocations: 204.1 kB / 0.7259 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.936e-05/0.2632, allocations: 143.2 kB / 0.726 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.2633, allocations: 112.9 kB / 0.7261 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.2633, allocations: 120.9 kB / 0.7262 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/0.2634, allocations: 184.3 kB / 0.7264 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.813e-05/0.2635, allocations: 176.3 kB / 0.7266 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/0.2636, allocations: 180.2 kB / 0.7268 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.2638, allocations: 401.7 kB / 0.7271 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.2639, allocations: 109 kB / 0.7272 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.2639, allocations: 104.9 kB / 0.7273 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.531e-05/0.264, allocations: 176.3 kB / 0.7275 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.2641, allocations: 176.3 kB / 0.7277 GB, free: 13.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.2641, allocations: 189 kB / 0.7279 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.824e-05/0.2642, allocations: 184.2 kB / 0.728 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2644, allocations: 315.6 kB / 0.7283 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.2644, allocations: 182 kB / 0.7285 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.376e-05/0.2645, allocations: 184.2 kB / 0.7287 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.2646, allocations: 109.2 kB / 0.7288 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2647, allocations: 180.3 kB / 0.729 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.2647, allocations: 109 kB / 0.7291 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.361e-05/0.2648, allocations: 111.8 kB / 0.7292 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2648, allocations: 0 / 0.7292 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002999/0.2651, allocations: 24 kB / 0.7292 GB, free: 12.04 MB / 0.5105 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 () * 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.0004434/0.2656, allocations: 0.8282 MB / 0.73 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.2657, allocations: 59.8 kB / 0.7301 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2657, allocations: 5.312 kB / 0.7301 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2657, allocations: 96 / 0.7301 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.266, allocations: 0.5302 MB / 0.7306 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2665, allocations: 220.1 kB / 0.7308 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2667, allocations: 0.6968 MB / 0.7315 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.2669, allocations: 60.69 kB / 0.7315 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.267, allocations: 23.44 kB / 0.7316 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.267, allocations: 0 / 0.7316 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.2871, allocations: 2.516 MB / 0.734 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.2873, allocations: 154.8 kB / 0.7342 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.902, allocations: 0 / 0.7342 GB, free: 6.859 MB / 0.5105 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/linux/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)