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.0008088/0.0008088, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007919/0.0007919, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8534/0.8534, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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.001363/0.001363, allocations: 222.3 kB / 260.2 MB, free: 13.04 MB / 250.7 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.6435/0.6435, allocations: 138.4 MB / 455.1 MB, free: 30.04 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.6476 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.104e-05, allocations: 9.312 kB / 0.6476 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009986/0.00102, allocations: 0.6043 MB / 0.6482 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0002345/0.001254, allocations: 67.81 kB / 0.6482 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.001272, allocations: 0 / 0.6482 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.001296, allocations: 7.984 kB / 0.6482 GB, free: 0.6172 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.656e-05/0.001333, allocations: 4 kB / 0.6483 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.001585, allocations: 43.88 kB / 0.6483 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.001638, allocations: 27.91 kB / 0.6483 GB, free: 0.543 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.354e-05/0.001672, allocations: 7.984 kB / 0.6483 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.962e-05/0.001701, allocations: 15.98 kB / 0.6483 GB, free: 0.5195 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.001849, allocations: 71.92 kB / 0.6484 GB, free: 460 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.001863, allocations: 4 kB / 0.6484 GB, free: 456 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.418e-05/0.001938, allocations: 39.94 kB / 0.6485 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.001968, allocations: 19.92 kB / 0.6485 GB, free: 396 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.001986, allocations: 15.94 kB / 0.6485 GB, free: 380 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.002098, allocations: 75.83 kB / 0.6486 GB, free: 304 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.002099, allocations: 0 / 0.6486 GB, free: 304 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.41e-07/0.0021, allocations: 0 / 0.6486 GB, free: 304 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002103, allocations: 3.938 kB / 0.6486 GB, free: 300 kB / 0.5573 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.2456/0.2477, allocations: 281.5 kB / 0.6488 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2478, allocations: 10.91 kB / 0.6488 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.2478, allocations: 7.656 kB / 0.6488 GB, free: 57.19 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.418e-05/0.2479, allocations: 111.8 kB / 0.649 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2479, allocations: 0.9219 kB / 0.649 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2479, allocations: 4.312 kB / 0.649 GB, free: 57.07 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.2481, allocations: 441.1 kB / 0.6494 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2481, allocations: 2.625 kB / 0.6494 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2481, allocations: 7.734 kB / 0.6494 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.2482, allocations: 22.17 kB / 0.6494 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.2482, allocations: 36.97 kB / 0.6494 GB, free: 56.67 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.2486, allocations: 0.8462 MB / 0.6503 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.753e-05/0.2486, allocations: 174.9 kB / 0.6504 GB, free: 55.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.2486, allocations: 81.86 kB / 0.6505 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-06/0.2486, allocations: 77.23 kB / 0.6506 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.2487, allocations: 115.7 kB / 0.6507 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2487, allocations: 2.188 kB / 0.6507 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 5.092e-05/0.2487, allocations: 36.75 kB / 0.6507 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.2488, allocations: 389.4 kB / 0.6511 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.2489, allocations: 179.7 kB / 0.6513 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.2489, allocations: 32.92 kB / 0.6513 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.2489, allocations: 151.7 kB / 0.6515 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.338e-06/0.2489, allocations: 5.281 kB / 0.6515 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.249, allocations: 54.81 kB / 0.6515 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.097e-05/0.249, allocations: 320.8 kB / 0.6518 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.249, allocations: 29.27 kB / 0.6518 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.2491, allocations: 478.1 kB / 0.6523 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2493, allocations: 204.6 kB / 0.6525 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2493, allocations: 3.312 kB / 0.6525 GB, free: 53.63 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002397/0.2495, allocations: 193.9 kB / 0.6527 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.2495, allocations: 7.469 kB / 0.6527 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2495, allocations: 5.219 kB / 0.6527 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2496, allocations: 6.562 kB / 0.6527 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.2497, allocations: 40.19 kB / 0.6527 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2497, allocations: 7.156 kB / 0.6528 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.2497, allocations: 23.12 kB / 0.6528 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2497, allocations: 17.28 kB / 0.6528 GB, free: 53.55 MB / 0.5573 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 7.078e-05/0.2498, allocations: 219.4 kB / 0.653 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.2498, allocations: 111.3 kB / 0.6531 GB, free: 53.24 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.2499, allocations: 113.7 kB / 0.6532 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.2499, allocations: 182.9 kB / 0.6534 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.2499, allocations: 182 kB / 0.6536 GB, free: 52.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.2499, allocations: 178.3 kB / 0.6537 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.468e-05/0.25, allocations: 378 kB / 0.6541 GB, free: 52.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.25, allocations: 103.7 kB / 0.6542 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.25, allocations: 108.1 kB / 0.6543 GB, free: 51.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.25, allocations: 179.7 kB / 0.6545 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.25, allocations: 184.4 kB / 0.6546 GB, free: 51.63 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.2501, allocations: 180 kB / 0.6548 GB, free: 51.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-05/0.2501, allocations: 179.7 kB / 0.655 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.097e-05/0.2501, allocations: 321.3 kB / 0.6553 GB, free: 50.95 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.2501, allocations: 116.9 kB / 0.6554 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.2502, allocations: 181.5 kB / 0.6556 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.681e-05/0.2502, allocations: 105.8 kB / 0.6557 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.2502, allocations: 183.5 kB / 0.6559 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.2502, allocations: 102.5 kB / 0.6559 GB, free: 50.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.2503, allocations: 121.9 kB / 0.6561 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2503, allocations: 1.188 kB / 0.6561 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002009/0.2505, allocations: 26.69 kB / 0.6561 GB, free: 50.18 MB / 0.5573 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.0001354/0.2506, allocations: 189 kB / 0.6563 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.2507, allocations: 78.25 kB / 0.6563 GB, free: 50 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2507, allocations: 5.844 kB / 0.6564 GB, free: 50 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-07/0.2507, allocations: 0 / 0.6564 GB, free: 50 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.2509, allocations: 471 kB / 0.6568 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.2511, allocations: 250.3 kB / 0.657 GB, free: 49.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.2512, allocations: 81.47 kB / 0.6571 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.2512, allocations: 15.75 kB / 0.6571 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of SimCode: time 3.51e-07/0.2512, allocations: 0 / 0.6571 GB, free: 49.27 MB / 0.5573 GB Notification: Performance of Templates: time 0.003037/0.2542, allocations: 1.743 MB / 0.6588 GB, free: 49.2 MB / 0.5573 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.1850350787863135] Failed to read output from testmodel.py, exit status != 0: 0.2593841440975666 0.267448485 0.263591044 Calling exit ...