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.001172/0.001172, allocations: 104 kB / 16.41 MB, free: 6.508 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.001173/0.001173, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 284.9 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8965/0.8965, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 99.86 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3685, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001567/0.3701, allocations: 0.598 MB / 0.7677 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002994/0.3704, allocations: 75.78 kB / 0.7678 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.3704, allocations: 3.938 kB / 0.7678 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.3705, allocations: 0 / 0.7678 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.3705, allocations: 4 kB / 0.7678 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.3708, allocations: 51.88 kB / 0.7678 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.3709, allocations: 23.97 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3709, allocations: 7.984 kB / 0.7678 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.387e-05/0.3709, allocations: 11.94 kB / 0.7679 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.3711, allocations: 63.92 kB / 0.7679 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3712, allocations: 4 kB / 0.7679 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.42e-05/0.3712, allocations: 35.91 kB / 0.768 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.3713, allocations: 19.92 kB / 0.768 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.3713, allocations: 23.88 kB / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3715, allocations: 67.77 kB / 0.7681 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3715, allocations: 0 / 0.7681 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3715, allocations: 8 kB / 0.7681 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3715, allocations: 0 / 0.7681 GB, free: 2.949 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.0003315/0.3718, allocations: 359.1 kB / 0.7684 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3719, allocations: 12.03 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3719, allocations: 8.844 kB / 0.7684 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.997e-05/0.372, allocations: 170.8 kB / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.372, allocations: 384 / 0.7686 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.372, allocations: 8.359 kB / 0.7686 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3723, allocations: 176.2 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.3723, allocations: 3.938 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3723, allocations: 7.969 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.3723, allocations: 23.98 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.3724, allocations: 35.91 kB / 0.7688 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.3731, allocations: 0.9022 MB / 0.7697 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.96e-05/0.3731, allocations: 173.1 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.3732, allocations: 88.12 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.3732, allocations: 79.22 kB / 0.77 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.3733, allocations: 105.8 kB / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.3733, allocations: 0 / 0.7701 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.3734, allocations: 37.61 kB / 0.7702 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.3735, allocations: 316.4 kB / 0.7705 GB, free: 200 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.3737, allocations: 172.5 kB / 0.7706 GB, free: 20 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3737, allocations: 25.7 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.3738, allocations: 147.1 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.3738, allocations: 7.984 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.3739, allocations: 49.61 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.374, allocations: 322.8 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.374, allocations: 31.91 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.3742, allocations: 232.1 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.3744, allocations: 197.7 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3744, allocations: 4 kB / 0.7716 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002803/0.3747, allocations: 193.4 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3747, allocations: 4 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3747, allocations: 8 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3747, allocations: 4 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3748, allocations: 43.86 kB / 0.7719 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3749, allocations: 7.938 kB / 0.7719 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.375, allocations: 23.84 kB / 0.7719 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.375, allocations: 12.34 kB / 0.7719 GB, free: 14.54 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.0001199/0.3751, allocations: 217 kB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3752, allocations: 112.9 kB / 0.7722 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/0.3752, allocations: 112.8 kB / 0.7723 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.225e-05/0.3753, allocations: 188.1 kB / 0.7725 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.3753, allocations: 101 kB / 0.7726 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-05/0.3754, allocations: 193.9 kB / 0.7728 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.3755, allocations: 180.3 kB / 0.773 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3756, allocations: 106.8 kB / 0.7731 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.3757, allocations: 184.2 kB / 0.7732 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.105e-05/0.3757, allocations: 259.5 kB / 0.7735 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001779/0.3759, allocations: 410.8 kB / 0.7739 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4e-05/0.376, allocations: 104.9 kB / 0.774 GB, free: 12.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.674e-05/0.3761, allocations: 114.2 kB / 0.7741 GB, free: 12.19 MB / 0.545 GB Notification: Performance of Backend: time 6.11e-07/0.3761, allocations: 0 / 0.7741 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004713/0.3765, allocations: 170.7 kB / 0.7742 GB, free: 12.02 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005071/0.3771, allocations: 0.9019 MB / 0.7751 GB, free: 11.06 MB / 0.545 GB Notification: Performance of Templates: time 0.003325/0.3804, allocations: 1.185 MB / 0.7763 GB, free: 9.898 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)