Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001104/0.001104, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 66.44 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3425, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002042/0.3446, allocations: 0.6658 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003773/0.345, allocations: 71.84 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.345, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.345, allocations: 11.92 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.3451, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3454, allocations: 31.95 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.3454, allocations: 27.92 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.3455, allocations: 3.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.565e-05/0.3455, allocations: 15.94 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.3457, allocations: 71.91 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3457, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3459, allocations: 35.97 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.3459, allocations: 23.92 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.3459, allocations: 27.84 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3461, allocations: 59.8 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3461, allocations: 0 / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3461, allocations: 4 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.3461, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 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.0003709/0.3465, allocations: 359.7 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3465, allocations: 12.03 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.3466, allocations: 4.938 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.3467, allocations: 164.3 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3467, allocations: 8.359 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.3467, allocations: 4.375 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.347, allocations: 183.4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.347, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.347, allocations: 0 / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.3471, allocations: 31.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.807e-05/0.3471, allocations: 39.84 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.3478, allocations: 0.9101 MB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.3479, allocations: 173.1 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.348, allocations: 80.14 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.348, allocations: 75.28 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.3481, allocations: 117.8 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.3481, allocations: 3.938 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.952e-05/0.3482, allocations: 35.78 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.3484, allocations: 395.6 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3485, allocations: 166.4 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3486, allocations: 25.7 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.3487, allocations: 151.1 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/0.3487, allocations: 4 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.3487, allocations: 57.61 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3489, allocations: 322.8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.978e-05/0.349, allocations: 23.98 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.3492, allocations: 223.3 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.3494, allocations: 205.8 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3494, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003083/0.3497, allocations: 189.1 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3497, allocations: 9.406 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3497, allocations: 7.984 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.3498, allocations: 8.594 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3499, allocations: 39.92 kB / 1.072 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3499, allocations: 11.94 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.359e-05/0.35, allocations: 27.78 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.35, allocations: 12 kB / 1.072 GB, free: 5.371 MB / 0.8262 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.0001408/0.3502, allocations: 209 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3503, allocations: 112.9 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.561e-05/0.3503, allocations: 120.6 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.082e-05/0.3504, allocations: 184.2 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-05/0.3505, allocations: 184.2 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.3505, allocations: 188.3 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.3508, allocations: 417.2 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/0.3508, allocations: 108.9 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3509, allocations: 101 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-05/0.3509, allocations: 184.2 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.351, allocations: 176.3 kB / 1.074 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.908e-05/0.3511, allocations: 184.2 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.417e-05/0.3512, allocations: 184.2 kB / 1.075 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3513, allocations: 315.8 kB / 1.075 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.3514, allocations: 189.9 kB / 1.075 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.3515, allocations: 192.1 kB / 1.075 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.3516, allocations: 109.2 kB / 1.075 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.3517, allocations: 176.3 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.3517, allocations: 109 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.445e-05/0.3518, allocations: 122.6 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3518, allocations: 0 / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003423/0.3522, allocations: 31.98 kB / 1.076 GB, free: 1.625 MB / 0.8262 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.0002256/0.3524, allocations: 182.5 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.3525, allocations: 76.72 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3525, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3526, allocations: 0 / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.353, allocations: 0.5417 MB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.3533, allocations: 249.3 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3536, allocations: 0.6932 MB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002533/0.3538, allocations: 56.59 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.3539, allocations: 11.44 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3539, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of Templates: time 0.004251/0.3581, allocations: 1.752 MB / 1.079 GB, free: 14.04 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)