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.001685/0.001685, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002398/0.002398, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.401/1.401, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.067/3.067, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 GB " [Timeout remaining time 177] 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.00272/0.00272, allocations: 60.84 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3455, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003188/0.3487, allocations: 1.594 MB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.3499, allocations: 0.6583 MB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.187e-05/0.35, allocations: 0 / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.42e-05/0.35, allocations: 7.875 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.3501, allocations: 23.78 kB / 1.348 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.3506, allocations: 107.8 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3507, allocations: 95.64 kB / 1.348 GB, free: 13.99 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.101e-05/0.3508, allocations: 8.516 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.351, allocations: 59.77 kB / 1.348 GB, free: 13.92 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.731e-05/0.3511, allocations: 47.83 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.3511, allocations: 4 kB / 1.348 GB, free: 13.87 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.3513, allocations: 111.8 kB / 1.348 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.3513, allocations: 19.92 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3514, allocations: 39.73 kB / 1.348 GB, free: 13.7 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3517, allocations: 159.4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3517, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3517, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3517, allocations: 0 / 1.348 GB, free: 13.54 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.0007897/0.3525, allocations: 383.5 kB / 1.349 GB, free: 13.13 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3525, allocations: 12.03 kB / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.417e-05/0.3525, allocations: 192 / 1.349 GB, free: 13.12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.3525, allocations: 42.69 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.3528, allocations: 36.8 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3531, allocations: 138.4 kB / 1.349 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3531, allocations: 8.375 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3531, allocations: 384 / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.3534, allocations: 117.4 kB / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.3534, allocations: 0 / 1.349 GB, free: 12.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3534, allocations: 7.875 kB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.3535, allocations: 4 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.3538, allocations: 91.91 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.3545, allocations: 319.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.3548, allocations: 90.44 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.355, allocations: 56.88 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.355, allocations: 4 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000303/0.3553, allocations: 107.3 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.3553, allocations: 0 / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006823/0.356, allocations: 213.4 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.356, allocations: 55.39 kB / 1.35 GB, free: 11.73 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.3562, allocations: 141.8 kB / 1.35 GB, free: 11.58 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3562, allocations: 29.7 kB / 1.35 GB, free: 11.55 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.3563, allocations: 108.1 kB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.3563, allocations: 27.81 kB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.3564, allocations: 25.7 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3565, allocations: 326.8 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.3567, allocations: 51.95 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3569, allocations: 55.95 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.3573, allocations: 150.4 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3573, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005019/0.3578, allocations: 199.3 kB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.3578, allocations: 29.7 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.3578, allocations: 3.984 kB / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3578, allocations: 0 / 1.351 GB, free: 10.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.358, allocations: 27.92 kB / 1.351 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.358, allocations: 4.406 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.3581, allocations: 19.88 kB / 1.351 GB, free: 10.49 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3581, allocations: 11.98 kB / 1.351 GB, free: 10.48 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.0001084/0.3582, allocations: 117.8 kB / 1.351 GB, free: 10.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3583, allocations: 11.95 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.3583, allocations: 12.7 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.3583, allocations: 8 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3583, allocations: 3.938 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3583, allocations: 0 / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.3585, allocations: 172.7 kB / 1.351 GB, free: 10.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3585, allocations: 4 kB / 1.351 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3586, allocations: 15.98 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3586, allocations: 0 / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.3586, allocations: 3.984 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3586, allocations: 0 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3586, allocations: 7.938 kB / 1.351 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.3591, allocations: 184.9 kB / 1.351 GB, free: 9.875 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.3591, allocations: 11.91 kB / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.3591, allocations: 0 / 1.351 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3593, allocations: 11.98 kB / 1.351 GB, free: 9.852 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3593, allocations: 23.91 kB / 1.351 GB, free: 9.828 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3593, allocations: 7.938 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.952e-05/0.3594, allocations: 109.7 kB / 1.352 GB, free: 9.715 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3594, allocations: 0 / 1.352 GB, free: 9.715 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002509/0.3597, allocations: 39.94 kB / 1.352 GB, free: 9.676 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.0008655/0.3605, allocations: 0.7333 MB / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.361, allocations: 183.1 kB / 1.353 GB, free: 8.723 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.361, allocations: 0 / 1.353 GB, free: 8.723 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3612, allocations: 63.89 kB / 1.353 GB, free: 8.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.3614, allocations: 19.39 kB / 1.353 GB, free: 8.645 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.364, allocations: 1.711 MB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3643, allocations: 0.704 MB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.627e-05/0.3644, allocations: 15.77 kB / 1.355 GB, free: 6.094 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.3644, allocations: 35.42 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3644, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.3871, allocations: 3.004 MB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.27, allocations: 5.781 kB / 1.358 GB, free: 3.195 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.58871983399149] Failed to read output from testmodel.py, exit status != 0: 11.429580710013397 11.44885548 11.093501308 Calling exit ...