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.001378/0.001378, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00172/0.00172, allocations: 219.3 kB / 23.03 MB, free: 4.922 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.257/3.257, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 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.001996/0.001996, allocations: 61.97 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3423, allocations: 179 MB / 1.345 GB, free: 16 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003104/0.3455, allocations: 1.552 MB / 1.347 GB, free: 14.45 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.3466, allocations: 0.6038 MB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.3467, allocations: 0 / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3468, allocations: 7.875 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.964e-05/0.3468, allocations: 31.78 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3473, allocations: 107.7 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.3475, allocations: 99.64 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.3476, allocations: 12.5 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3477, allocations: 55.77 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.299e-05/0.3478, allocations: 47.83 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.3478, allocations: 4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.348, allocations: 99.84 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.3481, allocations: 27.91 kB / 1.348 GB, free: 13.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.3481, allocations: 31.8 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3484, allocations: 155.4 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3484, allocations: 4 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3484, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3484, allocations: 0 / 1.348 GB, free: 13.16 MB / 1.045 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.0008728/0.3493, allocations: 383.5 kB / 1.348 GB, free: 12.75 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3493, allocations: 8.031 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.3493, allocations: 4.188 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3494, allocations: 38.69 kB / 1.348 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.3497, allocations: 36.81 kB / 1.348 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.35, allocations: 139.4 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.35, allocations: 4.375 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.35, allocations: 4.375 kB / 1.349 GB, free: 12.49 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.3504, allocations: 109.5 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3504, allocations: 3.938 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3504, allocations: 15.92 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3504, allocations: 0 / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.3507, allocations: 87.92 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.3514, allocations: 299.8 kB / 1.349 GB, free: 11.93 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.3518, allocations: 98.44 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.3519, allocations: 52.88 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.352, allocations: 0 / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.3523, allocations: 111.3 kB / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.3523, allocations: 0 / 1.349 GB, free: 11.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006958/0.353, allocations: 209.4 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.353, allocations: 55.41 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3532, allocations: 139.5 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3532, allocations: 33.7 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.3533, allocations: 108.1 kB / 1.35 GB, free: 11.08 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.3533, allocations: 23.81 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.3534, allocations: 25.7 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3535, allocations: 330.8 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.3537, allocations: 81.66 kB / 1.35 GB, free: 10.61 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3539, allocations: 81.64 kB / 1.35 GB, free: 10.52 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.3543, allocations: 154.5 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3543, allocations: 0 / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005051/0.3548, allocations: 233 kB / 1.351 GB, free: 10.12 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.3548, allocations: 32.05 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3549, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3549, allocations: 480 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.355, allocations: 27.89 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.355, allocations: 7.938 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.3552, allocations: 27.88 kB / 1.351 GB, free: 10.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3552, allocations: 4 kB / 1.351 GB, free: 10.02 MB / 1.045 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.0001177/0.3553, allocations: 121.8 kB / 1.351 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3553, allocations: 11.95 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.3554, allocations: 12.72 kB / 1.351 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.3554, allocations: 4 kB / 1.351 GB, free: 9.855 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3554, allocations: 3.938 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3554, allocations: 3.984 kB / 1.351 GB, free: 9.848 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.3556, allocations: 156.7 kB / 1.351 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3556, allocations: 0 / 1.351 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3557, allocations: 23.97 kB / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3557, allocations: 0 / 1.351 GB, free: 9.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3557, allocations: 4 kB / 1.351 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3558, allocations: 4 kB / 1.351 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.3558, allocations: 3.938 kB / 1.351 GB, free: 9.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004688/0.3562, allocations: 180.9 kB / 1.351 GB, free: 9.422 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.3562, allocations: 7.953 kB / 1.351 GB, free: 9.414 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.3563, allocations: 7.984 kB / 1.351 GB, free: 9.406 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3564, allocations: 15.98 kB / 1.351 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.3565, allocations: 11.92 kB / 1.351 GB, free: 9.379 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3565, allocations: 7.984 kB / 1.351 GB, free: 9.371 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.511e-05/0.3566, allocations: 108.8 kB / 1.352 GB, free: 9.266 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3566, allocations: 3.938 kB / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002827/0.3569, allocations: 35.94 kB / 1.352 GB, free: 9.227 MB / 1.045 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.0009146/0.3578, allocations: 0.7372 MB / 1.352 GB, free: 8.461 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005597/0.3583, allocations: 216.8 kB / 1.352 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3583, allocations: 0 / 1.352 GB, free: 8.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.3585, allocations: 59.89 kB / 1.353 GB, free: 8.172 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3588, allocations: 15.98 kB / 1.353 GB, free: 8.156 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.3614, allocations: 1.815 MB / 1.354 GB, free: 6.223 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.3615, allocations: 97.11 kB / 1.354 GB, free: 6.105 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 8.548e-05/0.3616, allocations: 15.77 kB / 1.354 GB, free: 6.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.778e-05/0.3617, allocations: 27.42 kB / 1.354 GB, free: 6.066 MB / 1.045 GB Notification: Performance of SimCode: time 1.102e-06/0.3617, allocations: 4 kB / 1.354 GB, free: 6.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.3849, allocations: 3.058 MB / 1.357 GB, free: 3.152 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 1.875 kB / 1.357 GB, free: 3.152 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.370641865069047] Failed to read output from testmodel.py, exit status != 0: 11.701437151990831 11.725893818 11.373035054 Calling exit ...