Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001325/0.001325, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001358/0.001358, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.424/1.424, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.903/2.903, allocations: 0.5003 GB / 0.8026 GB, free: 6.844 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001898/0.001898, allocations: 79.88 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8324, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002323/0.8347, allocations: 1.582 MB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.8356, allocations: 0.6463 MB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.8357, allocations: 5.031 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.8358, allocations: 6.328 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.8359, allocations: 20.52 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.8362, allocations: 110.5 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.8364, allocations: 103.6 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.8365, allocations: 18.42 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.8366, allocations: 58.02 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.8367, allocations: 40.95 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.8367, allocations: 7.844 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.8369, allocations: 96.78 kB / 1.343 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.8369, allocations: 22.05 kB / 1.343 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.837, allocations: 41.64 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.8372, allocations: 150.5 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8372, allocations: 0.6562 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8372, allocations: 0 / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8372, allocations: 4 kB / 1.343 GB, free: 14.39 MB / 1.061 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.0006851/0.8379, allocations: 462.1 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.8379, allocations: 11 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/0.8379, allocations: 1.75 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.8379, allocations: 37.42 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.8382, allocations: 38.19 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8384, allocations: 200.1 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.8384, allocations: 3.094 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.8384, allocations: 11.83 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.8387, allocations: 110.3 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.8387, allocations: 1.375 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.8387, allocations: 0.75 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.8387, allocations: 4.734 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.8391, allocations: 91.67 kB / 1.344 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.8396, allocations: 355.6 kB / 1.344 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.8399, allocations: 89.7 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.8401, allocations: 53.77 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.8401, allocations: 1.219 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.8404, allocations: 119.9 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8404, allocations: 4 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006328/0.841, allocations: 208.1 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.8411, allocations: 53.7 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.8412, allocations: 141.4 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.8412, allocations: 32.05 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.8412, allocations: 103 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.8412, allocations: 34.27 kB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.8413, allocations: 25.59 kB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.8413, allocations: 325.4 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.8415, allocations: 51.72 kB / 1.345 GB, free: 12.42 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8417, allocations: 62.08 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.842, allocations: 143.1 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.842, allocations: 0.5156 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004488/0.8425, allocations: 200.2 kB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.8425, allocations: 36.28 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.8425, allocations: 0 / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8425, allocations: 1.375 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.8427, allocations: 19.12 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.8427, allocations: 3.938 kB / 1.346 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.8428, allocations: 19.92 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.8428, allocations: 8.062 kB / 1.346 GB, free: 12.2 MB / 1.061 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.187e-05/0.8429, allocations: 125 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.8429, allocations: 9.453 kB / 1.346 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.843, allocations: 12.48 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.843, allocations: 4.781 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.843, allocations: 3.938 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.843, allocations: 2.172 kB / 1.346 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.8431, allocations: 202 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8431, allocations: 0 / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.8432, allocations: 16.58 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.8432, allocations: 2.125 kB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.8432, allocations: 6.172 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.8432, allocations: 0.7969 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.8432, allocations: 3.938 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.8436, allocations: 186.5 kB / 1.346 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.8437, allocations: 88.56 kB / 1.346 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.8437, allocations: 9.375 kB / 1.346 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.8438, allocations: 13.97 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.8439, allocations: 22.11 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.8439, allocations: 4.109 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.816e-05/0.8439, allocations: 107.6 kB / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8439, allocations: 0 / 1.347 GB, free: 11.54 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002465/0.8442, allocations: 36.36 kB / 1.347 GB, free: 11.54 MB / 1.061 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.0006349/0.8448, allocations: 0.7317 MB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004602/0.8453, allocations: 188.7 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8453, allocations: 0 / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.8455, allocations: 56.8 kB / 1.348 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.8457, allocations: 14.92 kB / 1.348 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.8477, allocations: 1.719 MB / 1.349 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.8478, allocations: 0.702 MB / 1.35 GB, free: 8.773 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.728e-05/0.8479, allocations: 20.17 kB / 1.35 GB, free: 8.766 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.848, allocations: 31.91 kB / 1.35 GB, free: 8.742 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.848, allocations: 0 / 1.35 GB, free: 8.742 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.8691, allocations: 2.867 MB / 1.353 GB, free: 8.254 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.146, allocations: 11.31 kB / 1.353 GB, free: 8.25 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.242285991029348] Failed to read output from testmodel.py, exit status != 0: 9.272783191991039 9.297226336 8.456039328 Calling exit ...