Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 119.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 277.7 kB / 303.6 MB, free: 3.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.369/1.369, allocations: 180.9 MB / 0.5268 GB, free: 2.781 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003274/0.003274, allocations: 96.22 kB / 0.7259 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6658/0.6691, allocations: 94.15 MB / 0.8178 GB, free: 7.469 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002489/0.6716, allocations: 1.566 MB / 0.8193 GB, free: 6.387 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.6726, allocations: 0.5808 MB / 0.8199 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.6726, allocations: 1.094 kB / 0.8199 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.6727, allocations: 12.56 kB / 0.8199 GB, free: 5.977 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.6728, allocations: 21.62 kB / 0.8199 GB, free: 5.961 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.6732, allocations: 93.89 kB / 0.82 GB, free: 5.918 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.6733, allocations: 92.47 kB / 0.8201 GB, free: 5.879 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.6734, allocations: 23.53 kB / 0.8201 GB, free: 5.863 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.6736, allocations: 46.42 kB / 0.8202 GB, free: 5.84 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.6736, allocations: 47.86 kB / 0.8202 GB, free: 5.82 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.6737, allocations: 8.156 kB / 0.8202 GB, free: 5.82 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.6738, allocations: 91.42 kB / 0.8203 GB, free: 5.793 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.6739, allocations: 24.52 kB / 0.8204 GB, free: 5.777 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.6739, allocations: 41.06 kB / 0.8204 GB, free: 5.75 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.6741, allocations: 135.9 kB / 0.8205 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6741, allocations: 0 / 0.8205 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6741, allocations: 0 / 0.8205 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6741, allocations: 0 / 0.8205 GB, free: 5.707 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007136/0.6749, allocations: 460.7 kB / 0.821 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6749, allocations: 9.562 kB / 0.821 GB, free: 5.273 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.6749, allocations: 10.7 kB / 0.821 GB, free: 5.27 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.6751, allocations: 199.1 kB / 0.8212 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.6751, allocations: 2.969 kB / 0.8212 GB, free: 5.055 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.6751, allocations: 7.094 kB / 0.8212 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.6755, allocations: 106.6 kB / 0.8213 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.6755, allocations: 1.25 kB / 0.8213 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6755, allocations: 0 / 0.8213 GB, free: 5 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.6755, allocations: 12.34 kB / 0.8213 GB, free: 4.992 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.6759, allocations: 86.23 kB / 0.8214 GB, free: 4.98 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.6765, allocations: 348.7 kB / 0.8217 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.6768, allocations: 92.8 kB / 0.8218 GB, free: 4.637 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.677, allocations: 51.03 kB / 0.8218 GB, free: 4.621 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.677, allocations: 4.844 kB / 0.8219 GB, free: 4.617 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.6773, allocations: 113.4 kB / 0.822 GB, free: 4.555 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.6773, allocations: 0.8906 kB / 0.822 GB, free: 4.555 MB / 0.5763 GB Notification: Performance of matching and sorting (n=9): time 0.0006833/0.678, allocations: 216.6 kB / 0.8222 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.6781, allocations: 54.52 kB / 0.8222 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.6782, allocations: 138.9 kB / 0.8224 GB, free: 4.301 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.6782, allocations: 32.08 kB / 0.8224 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.6782, allocations: 94.81 kB / 0.8225 GB, free: 4.176 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.6782, allocations: 30.42 kB / 0.8225 GB, free: 4.152 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.6783, allocations: 25.23 kB / 0.8225 GB, free: 4.133 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.6784, allocations: 332.8 kB / 0.8228 GB, free: 3.805 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.6786, allocations: 53.72 kB / 0.8229 GB, free: 3.797 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.6787, allocations: 56.34 kB / 0.8229 GB, free: 3.785 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.6791, allocations: 146.7 kB / 0.8231 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6791, allocations: 4 kB / 0.8231 GB, free: 3.715 MB / 0.5763 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004362/0.6795, allocations: 200.4 kB / 0.8233 GB, free: 3.617 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.6795, allocations: 32.12 kB / 0.8233 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.6795, allocations: 2.781 kB / 0.8233 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.6796, allocations: 0.6094 kB / 0.8233 GB, free: 3.586 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.6797, allocations: 24.81 kB / 0.8233 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.6797, allocations: 2.5 kB / 0.8233 GB, free: 3.578 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.6798, allocations: 20.84 kB / 0.8234 GB, free: 3.57 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.6799, allocations: 7.609 kB / 0.8234 GB, free: 3.566 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.328e-05/0.6799, allocations: 121.6 kB / 0.8235 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.68, allocations: 9.5 kB / 0.8235 GB, free: 3.441 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.68, allocations: 13.11 kB / 0.8235 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.68, allocations: 4.578 kB / 0.8235 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.68, allocations: 4.656 kB / 0.8235 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.68, allocations: 0 / 0.8235 GB, free: 3.426 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.6801, allocations: 210.8 kB / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6802, allocations: 0.7031 kB / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.6803, allocations: 17.02 kB / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6803, allocations: 0 / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6803, allocations: 4.625 kB / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6803, allocations: 0 / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6803, allocations: 0 / 0.8237 GB, free: 3.207 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.6807, allocations: 194.4 kB / 0.8239 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.6807, allocations: 84.8 kB / 0.824 GB, free: 3.004 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.6808, allocations: 4.516 kB / 0.824 GB, free: 3 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.6809, allocations: 13.5 kB / 0.824 GB, free: 3 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.681, allocations: 13.53 kB / 0.824 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.681, allocations: 4.422 kB / 0.824 GB, free: 2.996 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.681, allocations: 108.1 kB / 0.8241 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.681, allocations: 4 kB / 0.8241 GB, free: 2.91 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002498/0.6813, allocations: 40.39 kB / 0.8242 GB, free: 2.902 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001385/0.6814, allocations: 118.3 kB / 0.8243 GB, free: 2.809 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004597/0.6819, allocations: 172.2 kB / 0.8245 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6819, allocations: 0 / 0.8245 GB, free: 2.727 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6821, allocations: 69.2 kB / 0.8245 GB, free: 2.707 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.6823, allocations: 16.19 kB / 0.8245 GB, free: 2.699 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.6828, allocations: 256.6 kB / 0.8248 GB, free: 2.504 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.6829, allocations: 0.7026 MB / 0.8255 GB, free: 1.805 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.683, allocations: 16.17 kB / 0.8255 GB, free: 1.801 MB / 0.5763 GB Notification: Performance of SimCode: time 3.31e-07/0.683, allocations: 3.938 kB / 0.8255 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of Templates: time 0.003529/0.6865, allocations: 1.522 MB / 0.827 GB, free: 1.68 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.842979912878945] Failed to read output from testmodel.py, exit status != 0: 0.6945347059518099 0.706958313 0.029886399 Calling exit ...