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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7793/0.7793, allocations: 140.1 MB / 156 MB, free: 8.395 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 176.4 kB / 188.5 MB, free: 8.984 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 426.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009312/0.0009311, allocations: 94.33 kB / 0.4945 GB, free: 8.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001618/0.001618, allocations: 266.7 kB / 0.5728 GB, free: 66.11 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004686, allocations: 20 kB / 0.662 GB, free: 6.707 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3473, allocations: 79.29 MB / 0.7394 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.4737, allocations: 108.6 MB / 0.8455 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.474, allocations: 75.95 kB / 0.8456 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005629/0.4796, allocations: 1.919 MB / 0.8474 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.684e-06/0.4796, allocations: 0 / 0.8474 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.4796, allocations: 0 / 0.8474 GB, free: 15.56 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006188/0.4803, allocations: 486.4 kB / 0.8479 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.4803, allocations: 11.97 kB / 0.8479 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.4803, allocations: 8.844 kB / 0.8479 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4806, allocations: 208.1 kB / 0.8481 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4806, allocations: 4.359 kB / 0.8481 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.4806, allocations: 8.375 kB / 0.8481 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.4809, allocations: 142.2 kB / 0.8483 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.4809, allocations: 4.125 kB / 0.8483 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.481, allocations: 7.938 kB / 0.8483 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.481, allocations: 0 / 0.8483 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003506/0.4813, allocations: 131.9 kB / 0.8484 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.4819, allocations: 368.6 kB / 0.8488 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.4822, allocations: 146.4 kB / 0.8489 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4825, allocations: 108.9 kB / 0.849 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.4825, allocations: 7.938 kB / 0.849 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.4828, allocations: 151.3 kB / 0.8491 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.4828, allocations: 0 / 0.8491 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0007577/0.4836, allocations: 363.1 kB / 0.8495 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.4836, allocations: 89.11 kB / 0.8496 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4838, allocations: 140.2 kB / 0.8497 GB, free: 13 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4838, allocations: 25.7 kB / 0.8497 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.4838, allocations: 100 kB / 0.8498 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4839, allocations: 35.55 kB / 0.8499 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.4839, allocations: 0 / 0.8499 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.484, allocations: 326.8 kB / 0.8502 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.4843, allocations: 91.94 kB / 0.8503 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.4845, allocations: 95.88 kB / 0.8504 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.4849, allocations: 279.3 kB / 0.8506 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4849, allocations: 4 kB / 0.8506 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000533/0.4855, allocations: 302.2 kB / 0.8509 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.4855, allocations: 75.39 kB / 0.851 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4855, allocations: 0 / 0.851 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.4856, allocations: 0 / 0.851 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4857, allocations: 27.91 kB / 0.851 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.4857, allocations: 0 / 0.851 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.4859, allocations: 47.89 kB / 0.8511 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.4859, allocations: 4 kB / 0.8511 GB, free: 11.55 MB / 0.5261 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.4861, allocations: 167.5 kB / 0.8512 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.4861, allocations: 11.81 kB / 0.8512 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.4861, allocations: 16.7 kB / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4861, allocations: 0 / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4861, allocations: 4 kB / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4861, allocations: 0 / 0.8513 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4863, allocations: 209.5 kB / 0.8515 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4863, allocations: 4 kB / 0.8515 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4864, allocations: 19.98 kB / 0.8515 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4864, allocations: 0 / 0.8515 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.4865, allocations: 11.98 kB / 0.8515 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4865, allocations: 0 / 0.8515 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4865, allocations: 4.406 kB / 0.8515 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.487, allocations: 326.4 kB / 0.8518 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.4871, allocations: 85.02 kB / 0.8519 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.4871, allocations: 4 kB / 0.8519 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4873, allocations: 31.95 kB / 0.8519 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.4874, allocations: 23.97 kB / 0.8519 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.4874, allocations: 7.984 kB / 0.852 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.4875, allocations: 109.6 kB / 0.8521 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.144e-06/0.4875, allocations: 0 / 0.8521 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001967/0.4877, allocations: 35.94 kB / 0.8521 GB, free: 10.39 MB / 0.5261 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001146/0.4878, allocations: 103.2 kB / 0.8522 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006088/0.4884, allocations: 362.6 kB / 0.8525 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4884, allocations: 0 / 0.8525 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.4887, allocations: 207.2 kB / 0.8527 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4889, allocations: 16 kB / 0.8527 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.4895, allocations: 331.2 kB / 0.8531 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4898, allocations: 0.7005 MB / 0.8537 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.098e-05/0.4899, allocations: 15.97 kB / 0.8538 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.4899, allocations: 7.438 kB / 0.8538 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-07/0.4899, allocations: 0 / 0.8538 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.00344/0.4934, allocations: 1.48 MB / 0.8552 GB, free: 7.105 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (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)