Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 106.8 kB / 16.41 MB, free: 6.496 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.001276/0.001276, allocations: 188 kB / 17.34 MB, free: 5.727 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 285.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.155/1.155, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002701/0.002701, allocations: 107.8 kB / 0.6822 GB, free: 6.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.464, allocations: 86.97 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001542/0.4656, allocations: 0.6058 MB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002986/0.4659, allocations: 59.84 kB / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.4659, allocations: 0 / 0.7678 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4659, allocations: 4 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.466, allocations: 7.922 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.4663, allocations: 43.95 kB / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.4664, allocations: 31.89 kB / 0.7678 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.4664, allocations: 4 kB / 0.7678 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.4664, allocations: 11.94 kB / 0.7678 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.4666, allocations: 67.92 kB / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.4667, allocations: 0 / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4668, allocations: 35.95 kB / 0.7679 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.4668, allocations: 19.94 kB / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.4668, allocations: 23.86 kB / 0.768 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.467, allocations: 67.59 kB / 0.7681 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.467, allocations: 0 / 0.7681 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.467, allocations: 0 / 0.7681 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.467, allocations: 0 / 0.7681 GB, free: 2.906 MB / 0.5294 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.0004726/0.4675, allocations: 369.1 kB / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4675, allocations: 8.031 kB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.4676, allocations: 8.891 kB / 0.7684 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4677, allocations: 176.3 kB / 0.7686 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4677, allocations: 4.312 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.4677, allocations: 4.359 kB / 0.7686 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.468, allocations: 179.4 kB / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.468, allocations: 0 / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.468, allocations: 4 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-05/0.468, allocations: 23.98 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.4681, allocations: 39.84 kB / 0.7688 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.4689, allocations: 0.9063 MB / 0.7697 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.469, allocations: 173.1 kB / 0.7699 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.469, allocations: 88.08 kB / 0.77 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.469, allocations: 75.28 kB / 0.77 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.335e-05/0.4691, allocations: 109.8 kB / 0.7701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4691, allocations: 0 / 0.7701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.159e-05/0.4692, allocations: 37.66 kB / 0.7702 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/0.4694, allocations: 395.6 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.4696, allocations: 161.9 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4696, allocations: 29.7 kB / 0.7707 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.4697, allocations: 159.4 kB / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-06/0.4697, allocations: 0 / 0.7709 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.4698, allocations: 53.7 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.47, allocations: 322.8 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.068e-05/0.47, allocations: 23.98 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.4702, allocations: 226.6 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.4705, allocations: 197.8 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.4705, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003842/0.4709, allocations: 189.7 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4709, allocations: 8 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4709, allocations: 4 kB / 0.7719 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4709, allocations: 11.94 kB / 0.7719 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.471, allocations: 39.91 kB / 0.7719 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.471, allocations: 11.94 kB / 0.7719 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.4712, allocations: 27.84 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4712, allocations: 8 kB / 0.772 GB, free: 14.41 MB / 0.545 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.0001815/0.4714, allocations: 223.5 kB / 0.7722 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.603e-05/0.4715, allocations: 112.9 kB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.4716, allocations: 116.8 kB / 0.7724 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.521e-05/0.4716, allocations: 192.1 kB / 0.7726 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.457e-05/0.4717, allocations: 180.2 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.943e-05/0.4718, allocations: 176.3 kB / 0.7729 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.4721, allocations: 425.2 kB / 0.7733 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.337e-05/0.4721, allocations: 106.7 kB / 0.7734 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.4722, allocations: 105 kB / 0.7735 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.666e-05/0.4723, allocations: 184.2 kB / 0.7737 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.4724, allocations: 176.3 kB / 0.7739 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.899e-05/0.4724, allocations: 184.2 kB / 0.7741 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.357e-05/0.4725, allocations: 188.2 kB / 0.7742 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4727, allocations: 307.7 kB / 0.7745 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4728, allocations: 190 kB / 0.7747 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4729, allocations: 188.2 kB / 0.7749 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.473, allocations: 108.9 kB / 0.775 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.4731, allocations: 184.3 kB / 0.7752 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.4731, allocations: 108.9 kB / 0.7753 GB, free: 10.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.319e-05/0.4732, allocations: 113.5 kB / 0.7754 GB, free: 10.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4732, allocations: 4 kB / 0.7754 GB, free: 10.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002998/0.4735, allocations: 28 kB / 0.7754 GB, free: 10.67 MB / 0.545 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.0002064/0.4737, allocations: 194.5 kB / 0.7756 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001688/0.4739, allocations: 67.78 kB / 0.7757 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4739, allocations: 0 / 0.7757 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4739, allocations: 1.641 kB / 0.7757 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.4743, allocations: 474.1 kB / 0.7761 GB, free: 9.941 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.4746, allocations: 224.8 kB / 0.7763 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4749, allocations: 0.6967 MB / 0.777 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001905/0.4751, allocations: 52.58 kB / 0.7771 GB, free: 8.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.4751, allocations: 15.44 kB / 0.7771 GB, free: 8.906 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4751, allocations: 0 / 0.7771 GB, free: 8.906 MB / 0.545 GB Notification: Performance of Templates: time 0.004483/0.4796, allocations: 1.692 MB / 0.7787 GB, free: 7.25 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)