Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001727/0.001727, allocations: 124.9 kB / 17.17 MB, free: 5.918 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.001966/0.001966, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.534/1.534, 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/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.809/2.809, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_11_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.002044/0.002044, allocations: 71.91 kB / 1.113 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 169.9 MB / 1.279 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002968/1.042, allocations: 1.585 MB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001185/1.043, allocations: 0.6479 MB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.237e-05/1.043, allocations: 0.75 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/1.043, allocations: 14.58 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.779e-05/1.043, allocations: 24.72 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/1.044, allocations: 105.2 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/1.044, allocations: 97.22 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/1.044, allocations: 18.19 kB / 1.281 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/1.044, allocations: 49.53 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/1.044, allocations: 49.53 kB / 1.281 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/1.044, allocations: 14.56 kB / 1.281 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/1.045, allocations: 97.94 kB / 1.282 GB, free: 9.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.966e-05/1.045, allocations: 18 kB / 1.282 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.509e-05/1.045, allocations: 40.78 kB / 1.282 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/1.045, allocations: 154 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.045, allocations: 1.172 kB / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/1.045, allocations: 0 / 1.282 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.039e-05/1.045, allocations: 0.5625 kB / 1.282 GB, free: 9.902 MB / 0.9981 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.0008874/1.046, allocations: 462.3 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.046, allocations: 9.844 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.276e-05/1.046, allocations: 1.25 kB / 1.282 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/1.046, allocations: 38.11 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/1.046, allocations: 31.03 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/1.047, allocations: 198.3 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/1.047, allocations: 7.734 kB / 1.282 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/1.047, allocations: 12.09 kB / 1.282 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/1.047, allocations: 102.6 kB / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/1.047, allocations: 0 / 1.283 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.047, allocations: 4.469 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/1.047, allocations: 5.75 kB / 1.283 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/1.047, allocations: 95.11 kB / 1.283 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/1.048, allocations: 356.2 kB / 1.283 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/1.048, allocations: 86.34 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.049, allocations: 58.7 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/1.049, allocations: 1.375 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/1.049, allocations: 118.1 kB / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/1.049, allocations: 0 / 1.283 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007092/1.05, allocations: 213.5 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/1.05, allocations: 57.12 kB / 1.284 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.05, allocations: 147.2 kB / 1.284 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.05, allocations: 26.98 kB / 1.284 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.077e-05/1.05, allocations: 98.73 kB / 1.284 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/1.05, allocations: 27.52 kB / 1.284 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.148e-05/1.05, allocations: 32.95 kB / 1.284 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.05, allocations: 320.8 kB / 1.284 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/1.05, allocations: 53.45 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/1.051, allocations: 57.56 kB / 1.284 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/1.051, allocations: 146.1 kB / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.051, allocations: 0 / 1.284 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000519/1.051, allocations: 208.6 kB / 1.285 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/1.051, allocations: 33.55 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.051, allocations: 0 / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.052, allocations: 1.094 kB / 1.285 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/1.052, allocations: 22.86 kB / 1.285 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.052, allocations: 3.938 kB / 1.285 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/1.052, allocations: 19.34 kB / 1.285 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/1.052, allocations: 3.844 kB / 1.285 GB, free: 7.711 MB / 0.9981 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.0001097/1.052, allocations: 121.3 kB / 1.285 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.052, allocations: 8.047 kB / 1.285 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/1.052, allocations: 25.03 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.052, allocations: 8.047 kB / 1.285 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/1.052, allocations: 9.844 kB / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/1.052, allocations: 0 / 1.285 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/1.052, allocations: 199.2 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.052, allocations: 0 / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.052, allocations: 17.47 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.052, allocations: 0 / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.052, allocations: 2.281 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.052, allocations: 2.344 kB / 1.285 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.052, allocations: 3.938 kB / 1.285 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/1.053, allocations: 184.9 kB / 1.285 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.675e-05/1.053, allocations: 85.38 kB / 1.285 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/1.053, allocations: 5.016 kB / 1.285 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/1.053, allocations: 14.83 kB / 1.285 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/1.053, allocations: 21.81 kB / 1.285 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/1.053, allocations: 7.641 kB / 1.285 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.892e-05/1.053, allocations: 107.9 kB / 1.285 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.053, allocations: 0 / 1.285 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002937/1.054, allocations: 49.28 kB / 1.285 GB, free: 7.031 MB / 0.9981 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.0008499/1.054, allocations: 0.7277 MB / 1.286 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005027/1.055, allocations: 182 kB / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.055, allocations: 0 / 1.286 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/1.055, allocations: 67.91 kB / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/1.055, allocations: 13.8 kB / 1.286 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/1.058, allocations: 1.715 MB / 1.288 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/1.058, allocations: 0.7035 MB / 1.289 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.805e-05/1.058, allocations: 11.86 kB / 1.289 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/1.058, allocations: 30.55 kB / 1.289 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.058, allocations: 0 / 1.289 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.078, allocations: 2.877 MB / 1.292 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/9.221, allocations: 2.688 kB / 1.292 GB, free: 3.75 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.342901766009163] Failed to read output from testmodel.py, exit status != 0: 9.346548150992021 9.367774927 8.31865625 Calling exit ...