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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 79.73 kB / 19.76 MB, free: 1.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 158.2 kB / 23.01 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.325/1.325, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002338/0.002338, allocations: 221.6 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8847/0.8847, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 95.84 kB / 0.6474 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3744, allocations: 95.35 MB / 0.7405 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00159/0.3759, allocations: 0.6137 MB / 0.7411 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.3762, allocations: 62.25 kB / 0.7411 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.3763, allocations: 1.125 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3763, allocations: 1.453 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.3763, allocations: 13.09 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3766, allocations: 49.64 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.3766, allocations: 25.19 kB / 0.7412 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.875e-05/0.3767, allocations: 7.594 kB / 0.7412 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.904e-05/0.3767, allocations: 11.7 kB / 0.7413 GB, free: 17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3769, allocations: 69.41 kB / 0.7413 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3769, allocations: 1.625 kB / 0.7413 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.377, allocations: 43.28 kB / 0.7414 GB, free: 16.97 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.377, allocations: 23.62 kB / 0.7414 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/0.3771, allocations: 14.31 kB / 0.7414 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3772, allocations: 69.16 kB / 0.7415 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.3772, allocations: 0 / 0.7415 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3772, allocations: 0 / 0.7415 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3772, allocations: 0 / 0.7415 GB, free: 16.93 MB / 0.5919 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.0002317/0.3774, allocations: 289.7 kB / 0.7417 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.3775, allocations: 11.03 kB / 0.7418 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.3775, allocations: 8.75 kB / 0.7418 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.891e-05/0.3775, allocations: 114.5 kB / 0.7419 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.3775, allocations: 5.5 kB / 0.7419 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3776, allocations: 2.656 kB / 0.7419 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.3778, allocations: 440.4 kB / 0.7423 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3778, allocations: 1.344 kB / 0.7423 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3778, allocations: 2.406 kB / 0.7423 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/0.3778, allocations: 24.34 kB / 0.7423 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.14e-05/0.3779, allocations: 39.92 kB / 0.7424 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.3783, allocations: 0.8468 MB / 0.7432 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.127e-05/0.3784, allocations: 174.8 kB / 0.7434 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.224e-05/0.3784, allocations: 81.36 kB / 0.7434 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3784, allocations: 81.11 kB / 0.7435 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3784, allocations: 120.2 kB / 0.7436 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3784, allocations: 0 / 0.7436 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 6.19e-05/0.3785, allocations: 37.2 kB / 0.7437 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.3785, allocations: 390.6 kB / 0.744 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3786, allocations: 182.6 kB / 0.7442 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.3786, allocations: 27.2 kB / 0.7442 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.3787, allocations: 149.8 kB / 0.7444 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.3787, allocations: 7.672 kB / 0.7444 GB, free: 14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3787, allocations: 56.64 kB / 0.7444 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.3788, allocations: 320.4 kB / 0.7447 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/0.3788, allocations: 30.5 kB / 0.7448 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.379, allocations: 479.9 kB / 0.7452 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3791, allocations: 194.1 kB / 0.7454 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3791, allocations: 1.312 kB / 0.7454 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002519/0.3793, allocations: 192.3 kB / 0.7456 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3793, allocations: 7.031 kB / 0.7456 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3793, allocations: 9.469 kB / 0.7456 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3794, allocations: 6.141 kB / 0.7456 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3795, allocations: 38.19 kB / 0.7457 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3795, allocations: 16.47 kB / 0.7457 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.3796, allocations: 26.11 kB / 0.7457 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.3796, allocations: 10.42 kB / 0.7457 GB, free: 12.75 MB / 0.5919 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 6.988e-05/0.3796, allocations: 213.5 kB / 0.7459 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.3797, allocations: 112.3 kB / 0.746 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.3797, allocations: 122.8 kB / 0.7461 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.3797, allocations: 178.2 kB / 0.7463 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/0.3798, allocations: 190.3 kB / 0.7465 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.3798, allocations: 178.3 kB / 0.7467 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.3799, allocations: 375.2 kB / 0.747 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.3799, allocations: 106.3 kB / 0.7471 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.3799, allocations: 102.1 kB / 0.7472 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.3799, allocations: 183.8 kB / 0.7474 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3799, allocations: 178.2 kB / 0.7476 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.822e-05/0.38, allocations: 178.3 kB / 0.7477 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-05/0.38, allocations: 186.4 kB / 0.7479 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.661e-05/0.38, allocations: 313.9 kB / 0.7482 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.3801, allocations: 122.3 kB / 0.7483 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3801, allocations: 183.5 kB / 0.7485 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.107e-05/0.3802, allocations: 108.8 kB / 0.7486 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.3802, allocations: 183.5 kB / 0.7488 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3802, allocations: 105.6 kB / 0.7489 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.3802, allocations: 117 kB / 0.749 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.3802, allocations: 1.375 kB / 0.749 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000296/0.3805, allocations: 38.58 kB / 0.749 GB, free: 9.309 MB / 0.5919 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.0001144/0.3806, allocations: 179.5 kB / 0.7492 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3808, allocations: 72.34 kB / 0.7493 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3808, allocations: 1.688 kB / 0.7493 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.3808, allocations: 0 / 0.7493 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.381, allocations: 465.8 kB / 0.7497 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.3812, allocations: 237.2 kB / 0.7499 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.659e-05/0.3813, allocations: 81 kB / 0.75 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.3814, allocations: 55.05 kB / 0.7501 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.3815, allocations: 14.22 kB / 0.7501 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.3815, allocations: 5.312 kB / 0.7501 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of Templates: time 0.004167/0.3856, allocations: 1.825 MB / 0.7519 GB, free: 8.113 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (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 ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.37406954402104] Failed to read output from testmodel.py, exit status != 0: 0.3925506470259279 0.402624678 0.023105999000000002 Calling exit ...