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.00108/0.00108, allocations: 76.44 kB / 19.17 MB, free: 0.7305 MB / 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.001209/0.001209, allocations: 165.9 kB / 22.45 MB, free: 2.102 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 0.8762/0.8762, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 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.001541/0.001541, allocations: 238.1 kB / 259.4 MB, free: 13.02 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 0.6615/0.6615, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.6462 GB, free: 1.949 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.418e-06/1.077e-05, allocations: 6.219 kB / 0.6462 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001706/0.001717, allocations: 1.553 MB / 0.6478 GB, free: 384 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2495/0.2512, allocations: 0.5999 MB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.153e-05/0.2513, allocations: 4.625 kB / 0.6483 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.773e-05/0.2514, allocations: 8.297 kB / 0.6484 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.2514, allocations: 25.39 kB / 0.6484 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.2518, allocations: 108.8 kB / 0.6485 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2519, allocations: 106 kB / 0.6486 GB, free: 55.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.252, allocations: 11.66 kB / 0.6486 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.2522, allocations: 63.66 kB / 0.6487 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.2523, allocations: 41.08 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.2523, allocations: 7.219 kB / 0.6487 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.2525, allocations: 93.55 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.2525, allocations: 22.53 kB / 0.6488 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.2526, allocations: 27.42 kB / 0.6488 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.2528, allocations: 167.8 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2528, allocations: 1.922 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2528, allocations: 0.9062 kB / 0.649 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2528, allocations: 0.7188 kB / 0.649 GB, free: 55.89 MB / 0.5573 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.0005245/0.2534, allocations: 388.1 kB / 0.6494 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.2534, allocations: 12.56 kB / 0.6494 GB, free: 55.56 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.2534, allocations: 35.25 kB / 0.6494 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2536, allocations: 36.12 kB / 0.6495 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.2538, allocations: 143.2 kB / 0.6496 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.2538, allocations: 4.547 kB / 0.6496 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2538, allocations: 4.344 kB / 0.6496 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.254, allocations: 101.9 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.254, allocations: 4.266 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.254, allocations: 5 kB / 0.6497 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2541, allocations: 9.312 kB / 0.6497 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2542, allocations: 90.64 kB / 0.6498 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.2546, allocations: 301.4 kB / 0.6501 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.2548, allocations: 94.23 kB / 0.6502 GB, free: 55.08 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.2549, allocations: 57.16 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2549, allocations: 1.219 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.2551, allocations: 116 kB / 0.6503 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2551, allocations: 0 / 0.6503 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0003855/0.2555, allocations: 211.3 kB / 0.6505 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.2555, allocations: 53 kB / 0.6506 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.2556, allocations: 143.9 kB / 0.6507 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.2556, allocations: 31.36 kB / 0.6508 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.2557, allocations: 106.2 kB / 0.6509 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.2557, allocations: 25.55 kB / 0.6509 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.2557, allocations: 28.55 kB / 0.6509 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.2557, allocations: 324.1 kB / 0.6512 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2558, allocations: 87.91 kB / 0.6513 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.2559, allocations: 84.66 kB / 0.6514 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.2561, allocations: 150.3 kB / 0.6515 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2561, allocations: 0 / 0.6515 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002366/0.2564, allocations: 227.1 kB / 0.6517 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.2564, allocations: 35.16 kB / 0.6518 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2564, allocations: 2.094 kB / 0.6518 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2564, allocations: 0 / 0.6518 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-05/0.2565, allocations: 23.89 kB / 0.6518 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.2565, allocations: 0 / 0.6518 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.2565, allocations: 25.86 kB / 0.6518 GB, free: 54.11 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2566, allocations: 1.906 kB / 0.6518 GB, free: 54.11 MB / 0.5573 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 5.299e-05/0.2566, allocations: 128.4 kB / 0.652 GB, free: 53.99 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.2566, allocations: 12.14 kB / 0.652 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2566, allocations: 12.02 kB / 0.652 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2566, allocations: 4.469 kB / 0.652 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2567, allocations: 0 / 0.652 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2567, allocations: 8.188 kB / 0.652 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.927e-05/0.2567, allocations: 165 kB / 0.6521 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2567, allocations: 0.6562 kB / 0.6521 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.2568, allocations: 20.03 kB / 0.6522 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2568, allocations: 1.172 kB / 0.6522 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2568, allocations: 5.531 kB / 0.6522 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.2568, allocations: 0 / 0.6522 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2568, allocations: 0.5625 kB / 0.6522 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.257, allocations: 188 kB / 0.6524 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.257, allocations: 11.33 kB / 0.6524 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.2571, allocations: 6.562 kB / 0.6524 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.2571, allocations: 16.5 kB / 0.6524 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.2571, allocations: 9 kB / 0.6524 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.2572, allocations: 10.06 kB / 0.6524 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.2572, allocations: 111.4 kB / 0.6525 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.2572, allocations: 4 kB / 0.6525 GB, free: 53.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001527/0.2573, allocations: 35.22 kB / 0.6525 GB, free: 53.65 MB / 0.5573 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.0003886/0.2577, allocations: 0.7387 MB / 0.6533 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.258, allocations: 212.9 kB / 0.6535 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.258, allocations: 0 / 0.6535 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.2581, allocations: 57.06 kB / 0.6535 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.2583, allocations: 13.27 kB / 0.6535 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.2595, allocations: 1.834 MB / 0.6553 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.2596, allocations: 87.41 kB / 0.6554 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.2596, allocations: 19.81 kB / 0.6554 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.2597, allocations: 32.3 kB / 0.6555 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2597, allocations: 0 / 0.6555 GB, free: 51.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.2758, allocations: 3.555 MB / 0.6589 GB, free: 50.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.865, allocations: 7.547 kB / 0.6589 GB, free: 50.62 MB / 0.5573 GB " [Timeout remaining time 653] (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 sys.exit(0), Time elapsed: 9.383540487848222] Failed to read output from testmodel.py, exit status != 0: 6.944511353038251 6.952497399 6.698060094 Calling exit ...