Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.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.002304/0.002304, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002726/0.002726, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.567/1.567, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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.003481/0.003481, allocations: 237.3 kB / 259.8 MB, free: 12.86 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 1.203/1.203, allocations: 138.5 MB / 454.7 MB, free: 1.496 MB / 362.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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") translateModel(BuildingSystems.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.287e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.Table): time 0.003144/0.003167, allocations: 1.685 MB / 0.5559 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004553, allocations: 0.6506 MB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.508e-05/0.004618, allocations: 4 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.005037, allocations: 139.4 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.00549, allocations: 199.2 kB / 0.5569 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.005925, allocations: 191.5 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.006239, allocations: 223.4 kB / 0.5573 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.006341, allocations: 25.73 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.006518, allocations: 107.8 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.006774, allocations: 163.7 kB / 0.5576 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/0.006818, allocations: 16 kB / 0.5576 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.006921, allocations: 39.94 kB / 0.5576 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.007044, allocations: 91.69 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.242e-05/0.007126, allocations: 51.78 kB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.007498, allocations: 263.1 kB / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.007503, allocations: 3.984 kB / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007504, allocations: 0 / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.007509, allocations: 0 / 0.558 GB, free: 13.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009529/0.008462, allocations: 0.6505 MB / 0.5587 GB, free: 12.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.008496, allocations: 8.75 kB / 0.5587 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.249e-05/0.008578, allocations: 40.7 kB / 0.5587 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.009088, allocations: 282.9 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.009101, allocations: 12.38 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.009111, allocations: 384 / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.009273, allocations: 58.19 kB / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.009281, allocations: 192 / 0.559 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.009294, allocations: 12.11 kB / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.009298, allocations: 0 / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.009439, allocations: 35.92 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.0101, allocations: 439.6 kB / 0.5595 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.01026, allocations: 55.08 kB / 0.5596 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.01034, allocations: 27.73 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.01036, allocations: 3.938 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.01039, allocations: 37.39 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.01039, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003442/0.01074, allocations: 105.6 kB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.01078, allocations: 51.41 kB / 0.5598 GB, free: 11.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.01143, allocations: 0.5104 MB / 0.5603 GB, free: 10.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.01145, allocations: 25.7 kB / 0.5603 GB, free: 10.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.01168, allocations: 246.8 kB / 0.5605 GB, free: 10.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.0117, allocations: 19.91 kB / 0.5606 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.746e-05/0.01175, allocations: 23.36 kB / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003193/0.01207, allocations: 0.5392 MB / 0.5611 GB, free: 9.719 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.01213, allocations: 11.98 kB / 0.5611 GB, free: 9.707 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.538e-05/0.01219, allocations: 12 kB / 0.5611 GB, free: 9.695 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.01231, allocations: 47.59 kB / 0.5612 GB, free: 9.645 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01231, allocations: 0 / 0.5612 GB, free: 9.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.01251, allocations: 85.44 kB / 0.5613 GB, free: 9.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.01252, allocations: 8 kB / 0.5613 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.01253, allocations: 0 / 0.5613 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01254, allocations: 7.984 kB / 0.5613 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.01261, allocations: 4 kB / 0.5613 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.01261, allocations: 0 / 0.5613 GB, free: 9.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.01268, allocations: 8 kB / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.01269, allocations: 0 / 0.5613 GB, free: 9.527 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001392/0.01282, allocations: 172.5 kB / 0.5614 GB, free: 9.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.01289, allocations: 31.77 kB / 0.5615 GB, free: 9.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.01313, allocations: 92.3 kB / 0.5616 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01313, allocations: 7.938 kB / 0.5616 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.01313, allocations: 0 / 0.5616 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.01314, allocations: 0 / 0.5616 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.0135, allocations: 268.5 kB / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.0135, allocations: 0 / 0.5618 GB, free: 8.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.01356, allocations: 11.98 kB / 0.5618 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.01356, allocations: 4 kB / 0.5618 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.01357, allocations: 0 / 0.5618 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01357, allocations: 0 / 0.5618 GB, free: 8.887 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01357, allocations: 3.938 kB / 0.5618 GB, free: 8.883 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.01386, allocations: 243.7 kB / 0.5621 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.404e-05/0.01395, allocations: 39.75 kB / 0.5621 GB, free: 8.586 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01398, allocations: 3.984 kB / 0.5621 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.778e-05/0.01407, allocations: 0 / 0.5621 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.01411, allocations: 4 kB / 0.5621 GB, free: 8.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-06/0.01411, allocations: 0 / 0.5621 GB, free: 8.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004085/0.01452, allocations: 335 kB / 0.5624 GB, free: 8.258 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01452, allocations: 0 / 0.5624 GB, free: 8.258 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01478, allocations: 27.95 kB / 0.5625 GB, free: 8.23 MB / 490.7 MB 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 (3): * Single equations (assignments): 3 * 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.002425/0.0172, allocations: 378.8 kB / 0.5628 GB, free: 8.008 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.01739, allocations: 43.66 kB / 0.5629 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.0174, allocations: 0 / 0.5629 GB, free: 7.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.01747, allocations: 27.67 kB / 0.5629 GB, free: 7.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.01787, allocations: 49.25 kB / 0.5629 GB, free: 7.879 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.01866, allocations: 423.6 kB / 0.5633 GB, free: 7.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.01884, allocations: 157.8 kB / 0.5635 GB, free: 7.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.01893, allocations: 33.92 kB / 0.5635 GB, free: 7.227 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.01899, allocations: 24.48 kB / 0.5636 GB, free: 7.203 MB / 490.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01899, allocations: 0 / 0.5636 GB, free: 7.203 MB / 490.7 MB Notification: Performance of Templates: time 0.006715/0.02571, allocations: 2.483 MB / 0.566 GB, free: 4.75 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.881874405080453]