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.001391/0.001391, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001516/0.001516, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.486/1.486, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 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.002587/0.002587, allocations: 287.1 kB / 309.8 MB, free: 3.469 MB / 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 1.1/1.1, allocations: 180.6 MB / 0.5338 GB, free: 12.45 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) [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.002954/0.002954, allocations: 95.86 kB / 0.7346 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5323/0.5353, allocations: 95.34 MB / 0.8277 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002755/0.538, allocations: 1.577 MB / 0.8293 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.5393, allocations: 0.6546 MB / 0.8299 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.5393, allocations: 3.938 kB / 0.8299 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.5395, allocations: 10.23 kB / 0.8299 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.5395, allocations: 16.7 kB / 0.8299 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.5401, allocations: 109.3 kB / 0.8301 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.5403, allocations: 100.3 kB / 0.8301 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.5404, allocations: 12.64 kB / 0.8302 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.5406, allocations: 55.72 kB / 0.8302 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.5407, allocations: 48.83 kB / 0.8303 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.5407, allocations: 7.969 kB / 0.8303 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.5408, allocations: 95.36 kB / 0.8304 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.5409, allocations: 25.17 kB / 0.8304 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.541, allocations: 42.55 kB / 0.8304 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.5412, allocations: 143.1 kB / 0.8306 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5412, allocations: 0 / 0.8306 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5412, allocations: 1.406 kB / 0.8306 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5412, allocations: 0 / 0.8306 GB, free: 1.215 MB / 0.5762 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.0007371/0.5419, allocations: 473.9 kB / 0.831 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.542, allocations: 10.33 kB / 0.831 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.166e-05/0.542, allocations: 3 kB / 0.831 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.449e-05/0.542, allocations: 35.78 kB / 0.8311 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002707/0.5423, allocations: 31.92 kB / 0.8311 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.5425, allocations: 203.1 kB / 0.8313 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.5425, allocations: 7.438 kB / 0.8313 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5426, allocations: 4 kB / 0.8313 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.5429, allocations: 104.6 kB / 0.8314 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.5429, allocations: 0 / 0.8314 GB, free: 464 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.5429, allocations: 4 kB / 0.8314 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.5429, allocations: 4.984 kB / 0.8314 GB, free: 460 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.5432, allocations: 96.77 kB / 0.8315 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.5439, allocations: 350.2 kB / 0.8318 GB, free: 124 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.5442, allocations: 89.78 kB / 0.8319 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.5444, allocations: 59.53 kB / 0.832 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.5444, allocations: 7.984 kB / 0.832 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003364/0.5447, allocations: 119.2 kB / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=9): time 2.395e-06/0.5447, allocations: 0 / 0.8321 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=9): time 0.0006994/0.5454, allocations: 206.3 kB / 0.8323 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.5455, allocations: 52.31 kB / 0.8323 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5456, allocations: 151.1 kB / 0.8325 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.5457, allocations: 28.33 kB / 0.8325 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.5457, allocations: 105.6 kB / 0.8326 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.5458, allocations: 35.25 kB / 0.8326 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.5458, allocations: 25.11 kB / 0.8327 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.546, allocations: 320.9 kB / 0.833 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5462, allocations: 57.28 kB / 0.833 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5464, allocations: 56.52 kB / 0.8331 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.5467, allocations: 150.8 kB / 0.8332 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5468, allocations: 0.6094 kB / 0.8332 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005079/0.5473, allocations: 191.8 kB / 0.8334 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.5473, allocations: 32.89 kB / 0.8334 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5473, allocations: 0 / 0.8334 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5473, allocations: 7.5 kB / 0.8334 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.5475, allocations: 21.31 kB / 0.8335 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5475, allocations: 3.938 kB / 0.8335 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.5476, allocations: 23.7 kB / 0.8335 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.5477, allocations: 3.516 kB / 0.8335 GB, free: 15.01 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 0.0001183/0.5478, allocations: 121.4 kB / 0.8336 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.5478, allocations: 9.953 kB / 0.8336 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.5478, allocations: 21.05 kB / 0.8336 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.5479, allocations: 4.406 kB / 0.8336 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5479, allocations: 3.938 kB / 0.8337 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5479, allocations: 2.156 kB / 0.8337 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5481, allocations: 203.6 kB / 0.8338 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5481, allocations: 0 / 0.8338 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.5482, allocations: 16.52 kB / 0.8339 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5482, allocations: 0 / 0.8339 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.5482, allocations: 5.359 kB / 0.8339 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5482, allocations: 5.812 kB / 0.8339 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5482, allocations: 3.938 kB / 0.8339 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.5487, allocations: 183.2 kB / 0.8341 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.5488, allocations: 84.42 kB / 0.8341 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.5488, allocations: 0.75 kB / 0.8341 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5489, allocations: 19.34 kB / 0.8342 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.549, allocations: 20.67 kB / 0.8342 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.549, allocations: 5.156 kB / 0.8342 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.285e-05/0.5491, allocations: 106.6 kB / 0.8343 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5491, allocations: 0 / 0.8343 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002889/0.5494, allocations: 41.25 kB / 0.8343 GB, free: 14.34 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.0008979/0.5503, allocations: 0.7303 MB / 0.835 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.5508, allocations: 181.9 kB / 0.8352 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5508, allocations: 4 kB / 0.8352 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.551, allocations: 60.25 kB / 0.8353 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.5513, allocations: 15.97 kB / 0.8353 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.5539, allocations: 1.724 MB / 0.837 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.5542, allocations: 0.696 MB / 0.8376 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.578e-05/0.5543, allocations: 16.55 kB / 0.8377 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.572e-05/0.5544, allocations: 27.06 kB / 0.8377 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5544, allocations: 0 / 0.8377 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.5745, allocations: 2.88 MB / 0.8405 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.055, allocations: 4.484 kB / 0.8405 GB, free: 11.08 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.007678466034122] Failed to read output from testmodel.py, exit status != 0: 9.193956283968873 9.210664308 8.666047452 Calling exit ...