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.001661/0.001661, allocations: 78.58 kB / 19 MB, free: 2.867 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.001526/0.001526, allocations: 158.2 kB / 22.25 MB, free: 5.137 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.438/1.438, allocations: 177.2 MB / 202.6 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] 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.002503/0.002503, allocations: 227 kB / 259.2 MB, free: 0.5938 MB / 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 1.124/1.124, allocations: 138.5 MB / 454.2 MB, free: 2.07 MB / 366.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.003159/0.003159, allocations: 99.84 kB / 0.6466 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3861, allocations: 95.35 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00171/0.3878, allocations: 0.6105 MB / 0.7403 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.3881, allocations: 75.78 kB / 0.7404 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.053e-05/0.3881, allocations: 3.938 kB / 0.7404 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.3882, allocations: 0 / 0.7404 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.3882, allocations: 7.984 kB / 0.7404 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.3885, allocations: 43.89 kB / 0.7405 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.3886, allocations: 23.97 kB / 0.7405 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3886, allocations: 8 kB / 0.7405 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.3887, allocations: 19.97 kB / 0.7405 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3889, allocations: 67.88 kB / 0.7406 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3889, allocations: 4 kB / 0.7406 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.389, allocations: 51.88 kB / 0.7406 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.389, allocations: 15.92 kB / 0.7406 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.3891, allocations: 19.92 kB / 0.7407 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3892, allocations: 60.92 kB / 0.7407 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3892, allocations: 4 kB / 0.7407 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3892, allocations: 0 / 0.7407 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3892, allocations: 0 / 0.7407 GB, free: 14.2 MB / 0.5762 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.0003485/0.3896, allocations: 294.2 kB / 0.741 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3896, allocations: 9.344 kB / 0.741 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3896, allocations: 8.891 kB / 0.741 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.3897, allocations: 110.5 kB / 0.7411 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3897, allocations: 8.297 kB / 0.7411 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.3898, allocations: 4.375 kB / 0.7411 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.3902, allocations: 439.5 kB / 0.7416 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3902, allocations: 3.938 kB / 0.7416 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3902, allocations: 3.938 kB / 0.7416 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.3902, allocations: 19.98 kB / 0.7416 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.3903, allocations: 43.91 kB / 0.7416 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.391, allocations: 0.8435 MB / 0.7425 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.3911, allocations: 177.1 kB / 0.7426 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.3912, allocations: 84.08 kB / 0.7427 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.3912, allocations: 75.31 kB / 0.7428 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/0.3913, allocations: 121.8 kB / 0.7429 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3913, allocations: 0 / 0.7429 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.201e-05/0.3913, allocations: 33.66 kB / 0.7429 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002022/0.3915, allocations: 387.7 kB / 0.7433 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3917, allocations: 173.6 kB / 0.7435 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.3917, allocations: 29.7 kB / 0.7435 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3918, allocations: 155.5 kB / 0.7436 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/0.3919, allocations: 11.98 kB / 0.7436 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.3919, allocations: 49.66 kB / 0.7437 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3921, allocations: 322.8 kB / 0.744 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.3921, allocations: 27.97 kB / 0.744 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.3925, allocations: 478.2 kB / 0.7445 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3927, allocations: 205.7 kB / 0.7447 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3927, allocations: 0 / 0.7447 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003263/0.393, allocations: 189.5 kB / 0.7449 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3931, allocations: 8 kB / 0.7449 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3931, allocations: 4 kB / 0.7449 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3931, allocations: 8 kB / 0.7449 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.3932, allocations: 39.92 kB / 0.7449 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.3932, allocations: 15.92 kB / 0.7449 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.3933, allocations: 27.77 kB / 0.745 GB, free: 9.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3933, allocations: 16.33 kB / 0.745 GB, free: 9.297 MB / 0.5762 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.0001476/0.3935, allocations: 213 kB / 0.7452 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.3936, allocations: 119.5 kB / 0.7453 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.4e-05/0.3936, allocations: 112.6 kB / 0.7454 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.3937, allocations: 188.2 kB / 0.7456 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-05/0.3938, allocations: 180.2 kB / 0.7458 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-05/0.3939, allocations: 184.2 kB / 0.7459 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3941, allocations: 372.8 kB / 0.7463 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.237e-05/0.3942, allocations: 113 kB / 0.7464 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-05/0.3942, allocations: 108.9 kB / 0.7465 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.577e-05/0.3943, allocations: 176.3 kB / 0.7467 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.3944, allocations: 188.2 kB / 0.7468 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.158e-05/0.3945, allocations: 176.3 kB / 0.747 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-05/0.3945, allocations: 176.3 kB / 0.7472 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.3947, allocations: 323.6 kB / 0.7475 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3948, allocations: 112.9 kB / 0.7476 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/0.3949, allocations: 176.3 kB / 0.7478 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.395, allocations: 112.9 kB / 0.7479 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.3951, allocations: 184.3 kB / 0.748 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.3951, allocations: 108.9 kB / 0.7481 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.3952, allocations: 111.2 kB / 0.7483 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 0 / 0.7483 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003147/0.3955, allocations: 35.94 kB / 0.7483 GB, free: 5.711 MB / 0.5762 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.0002019/0.3957, allocations: 190.5 kB / 0.7485 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3959, allocations: 68.97 kB / 0.7485 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3959, allocations: 0 / 0.7485 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.3959, allocations: 0 / 0.7485 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.3963, allocations: 470.9 kB / 0.749 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3966, allocations: 233 kB / 0.7492 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.86e-05/0.3967, allocations: 79.97 kB / 0.7493 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.3969, allocations: 48.59 kB / 0.7493 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.3969, allocations: 16.5 kB / 0.7493 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.3969, allocations: 0 / 0.7493 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.004768/0.4017, allocations: 1.825 MB / 0.7511 GB, free: 2.824 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.932429181411862] Failed to read output from testmodel.py, exit status != 0: 0.40990936756134033 0.424427304 0.032155072 Calling exit ...