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.001012/0.001012, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001062/0.001062, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 290.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8836/0.8836, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 103.8 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3557, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001505/0.3572, allocations: 0.598 MB / 0.7677 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000271/0.3575, allocations: 67.78 kB / 0.7677 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.3575, allocations: 4 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3576, allocations: 0 / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/0.3576, allocations: 7.938 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.3579, allocations: 43.94 kB / 0.7678 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.3579, allocations: 23.97 kB / 0.7678 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.358, allocations: 3.984 kB / 0.7678 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.358, allocations: 15.94 kB / 0.7678 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3582, allocations: 63.94 kB / 0.7679 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3582, allocations: 4 kB / 0.7679 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.3583, allocations: 43.89 kB / 0.7679 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3583, allocations: 19.92 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.3583, allocations: 19.88 kB / 0.768 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3585, allocations: 67.73 kB / 0.7681 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3585, allocations: 0 / 0.7681 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3585, allocations: 0 / 0.7681 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.784e-06/0.3585, allocations: 0 / 0.7681 GB, free: 2.895 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.0003041/0.3588, allocations: 367.1 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.3588, allocations: 12.03 kB / 0.7684 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3589, allocations: 8.844 kB / 0.7684 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.359, allocations: 178.8 kB / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.359, allocations: 384 / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.359, allocations: 384 / 0.7686 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3592, allocations: 177.3 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.3592, allocations: 7.938 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3592, allocations: 4 kB / 0.7688 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.3593, allocations: 31.91 kB / 0.7688 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.3593, allocations: 35.91 kB / 0.7688 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.3599, allocations: 0.9023 MB / 0.7697 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/0.36, allocations: 165.1 kB / 0.7699 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.568e-05/0.36, allocations: 80.14 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3601, allocations: 83.22 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.3601, allocations: 117.8 kB / 0.7701 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3601, allocations: 0 / 0.7701 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.522e-05/0.3602, allocations: 33.61 kB / 0.7702 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.3603, allocations: 312.4 kB / 0.7705 GB, free: 136 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3604, allocations: 167.7 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3605, allocations: 33.7 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.3605, allocations: 139.2 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/0.3606, allocations: 8 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.3606, allocations: 53.61 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.3607, allocations: 326.8 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.856e-05/0.3608, allocations: 31.91 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3609, allocations: 218.6 kB / 0.7714 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3611, allocations: 201.7 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3611, allocations: 0 / 0.7716 GB, free: 14.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002672/0.3614, allocations: 193.1 kB / 0.7718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3614, allocations: 8.656 kB / 0.7718 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3614, allocations: 4 kB / 0.7718 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3614, allocations: 12 kB / 0.7718 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3615, allocations: 39.86 kB / 0.7718 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.3615, allocations: 11.94 kB / 0.7719 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.3616, allocations: 23.84 kB / 0.7719 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3617, allocations: 8.094 kB / 0.7719 GB, free: 14.48 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.0001092/0.3618, allocations: 223.3 kB / 0.7721 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.3618, allocations: 108.9 kB / 0.7722 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.3619, allocations: 120.8 kB / 0.7723 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.711e-05/0.3619, allocations: 188.2 kB / 0.7725 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-05/0.362, allocations: 101 kB / 0.7726 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.3621, allocations: 193.9 kB / 0.7728 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.83e-05/0.3621, allocations: 180.3 kB / 0.773 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.3622, allocations: 106.8 kB / 0.7731 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.3623, allocations: 188.1 kB / 0.7732 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.572e-05/0.3624, allocations: 263.5 kB / 0.7735 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001418/0.3625, allocations: 390.9 kB / 0.7739 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.119e-05/0.3625, allocations: 108.9 kB / 0.774 GB, free: 12.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.606e-05/0.3626, allocations: 118.2 kB / 0.7741 GB, free: 12.12 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.3626, allocations: 0 / 0.7741 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.3631, allocations: 174.1 kB / 0.7742 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004442/0.3635, allocations: 0.9059 MB / 0.7751 GB, free: 11 MB / 0.545 GB Notification: Performance of Templates: time 0.003197/0.3667, allocations: 1.186 MB / 0.7763 GB, free: 9.828 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)