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.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.001673/0.001673, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001542/0.001542, allocations: 155.8 kB / 23.01 MB, free: 4.602 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.396/1.396, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.002454/0.002454, allocations: 229.7 kB / 260 MB, free: 480 kB / 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 0.9256/0.9256, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.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: 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.003186/0.003186, allocations: 102.3 kB / 0.6473 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4023, allocations: 95.34 MB / 0.7404 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002331/0.4047, allocations: 1.55 MB / 0.7419 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000934/0.4056, allocations: 0.6081 MB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.4057, allocations: 1.188 kB / 0.7425 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.429e-05/0.4058, allocations: 10.36 kB / 0.7425 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.4058, allocations: 25.8 kB / 0.7426 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.4062, allocations: 109.9 kB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.4063, allocations: 92.77 kB / 0.7428 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.4064, allocations: 15.28 kB / 0.7428 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.4066, allocations: 48.75 kB / 0.7428 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.543e-05/0.4067, allocations: 46.77 kB / 0.7429 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.4067, allocations: 6.625 kB / 0.7429 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.4068, allocations: 100.1 kB / 0.743 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.4069, allocations: 21.94 kB / 0.743 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.4069, allocations: 32.84 kB / 0.743 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.4071, allocations: 155.2 kB / 0.7432 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4072, allocations: 0 / 0.7432 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4072, allocations: 0 / 0.7432 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.4072, allocations: 0 / 0.7432 GB, free: 15.73 MB / 0.5919 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.0006606/0.4078, allocations: 390.2 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.4079, allocations: 9.594 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002726/0.4081, allocations: 35.52 kB / 0.7436 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.4083, allocations: 142.3 kB / 0.7437 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.4083, allocations: 11.77 kB / 0.7437 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4083, allocations: 3.969 kB / 0.7437 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.4086, allocations: 106.9 kB / 0.7438 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4086, allocations: 0 / 0.7438 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.4086, allocations: 9.766 kB / 0.7438 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.4087, allocations: 4.047 kB / 0.7438 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003362/0.409, allocations: 88.48 kB / 0.7439 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.4095, allocations: 281.1 kB / 0.7442 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.4098, allocations: 90.58 kB / 0.7443 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.41, allocations: 58.94 kB / 0.7443 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.41, allocations: 0 / 0.7443 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000263/0.4103, allocations: 112.6 kB / 0.7444 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4103, allocations: 0 / 0.7444 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0006385/0.4109, allocations: 216.6 kB / 0.7447 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.4109, allocations: 53.86 kB / 0.7447 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/0.411, allocations: 143.9 kB / 0.7448 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.411, allocations: 28.56 kB / 0.7449 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.4111, allocations: 103.2 kB / 0.745 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.4111, allocations: 24.94 kB / 0.745 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.4112, allocations: 29.02 kB / 0.745 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.4112, allocations: 329.8 kB / 0.7453 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.4114, allocations: 92.16 kB / 0.7454 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4116, allocations: 84.19 kB / 0.7455 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.412, allocations: 139.9 kB / 0.7456 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.412, allocations: 0 / 0.7456 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004541/0.4124, allocations: 227.6 kB / 0.7459 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4124, allocations: 37.47 kB / 0.7459 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4124, allocations: 0 / 0.7459 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4124, allocations: 1.5 kB / 0.7459 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4126, allocations: 26.81 kB / 0.7459 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4126, allocations: 4 kB / 0.7459 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.4127, allocations: 20.17 kB / 0.7459 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.4128, allocations: 7.5 kB / 0.7459 GB, free: 13.72 MB / 0.5919 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 6.374e-05/0.4128, allocations: 126.8 kB / 0.7461 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.4128, allocations: 8.641 kB / 0.7461 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.4129, allocations: 16.92 kB / 0.7461 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4129, allocations: 8.203 kB / 0.7461 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4129, allocations: 1.375 kB / 0.7461 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4129, allocations: 0.6562 kB / 0.7461 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.413, allocations: 131.3 kB / 0.7462 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.413, allocations: 0 / 0.7462 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.4131, allocations: 16.97 kB / 0.7462 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4131, allocations: 5.219 kB / 0.7462 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4131, allocations: 10.05 kB / 0.7463 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.4131, allocations: 0.9375 kB / 0.7463 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4131, allocations: 1.219 kB / 0.7463 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.4135, allocations: 182.3 kB / 0.7464 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.4136, allocations: 11.25 kB / 0.7464 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4136, allocations: 1.938 kB / 0.7464 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.4137, allocations: 23.34 kB / 0.7465 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.4138, allocations: 9.656 kB / 0.7465 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.4138, allocations: 6.578 kB / 0.7465 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.4138, allocations: 117.9 kB / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4138, allocations: 0 / 0.7466 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002455/0.4141, allocations: 36.27 kB / 0.7466 GB, free: 13.22 MB / 0.5919 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.0001278/0.4142, allocations: 113.3 kB / 0.7467 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004658/0.4147, allocations: 211.6 kB / 0.7469 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4147, allocations: 1.25 kB / 0.7469 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4149, allocations: 61.25 kB / 0.747 GB, free: 13 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.4151, allocations: 14.33 kB / 0.747 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.4156, allocations: 233.2 kB / 0.7472 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.786e-05/0.4156, allocations: 92.2 kB / 0.7473 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.836e-05/0.4157, allocations: 19.09 kB / 0.7473 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.4157, allocations: 15.48 kB / 0.7474 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.4157, allocations: 3.938 kB / 0.7474 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.004341/0.4201, allocations: 1.471 MB / 0.7488 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 660] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.777528767939657] Failed to read output from testmodel.py, exit status != 0: 0.4276692059356719 0.43847209 0.028845312 Calling exit ...