Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001275/0.001275, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001681/0.001681, allocations: 219.6 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.008/3.008, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_12_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.001916/0.001916, allocations: 67.05 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 176.1 MB / 1.327 GB, free: 2 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002876/0.2973, allocations: 1.586 MB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2985, allocations: 0.6544 MB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.2985, allocations: 4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.777e-05/0.2986, allocations: 7.875 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.631e-05/0.2987, allocations: 23.8 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.2991, allocations: 107.7 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.2993, allocations: 99.69 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.2994, allocations: 12.5 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.2995, allocations: 55.78 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.884e-05/0.2996, allocations: 43.81 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2996, allocations: 8 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.2998, allocations: 99.84 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.2998, allocations: 23.92 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.2999, allocations: 43.72 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3001, allocations: 155.4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3001, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3001, allocations: 3.938 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3001, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 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.0007451/0.3009, allocations: 383.5 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3009, allocations: 8.031 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.615e-05/0.3009, allocations: 8.188 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.301, allocations: 38.73 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002632/0.3012, allocations: 32.83 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3015, allocations: 134.4 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3015, allocations: 8.375 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.3015, allocations: 4.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.3018, allocations: 113.4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3018, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3018, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.3018, allocations: 7.984 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.3022, allocations: 83.92 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006344/0.3028, allocations: 319.7 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3031, allocations: 90.5 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.3033, allocations: 52.88 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3033, allocations: 4.062 kB / 1.331 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002929/0.3036, allocations: 115.3 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.654e-06/0.3036, allocations: 0 / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000669/0.3043, allocations: 209.4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/0.3044, allocations: 55.41 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.3045, allocations: 147.6 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.3045, allocations: 25.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.3046, allocations: 104 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3046, allocations: 27.78 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.3047, allocations: 29.98 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3048, allocations: 318.8 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.305, allocations: 59.94 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3052, allocations: 63.89 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.3056, allocations: 150.5 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3056, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000472/0.3061, allocations: 207.2 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3061, allocations: 33.7 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3061, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3061, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3062, allocations: 15.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3063, allocations: 8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.3064, allocations: 23.92 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3064, allocations: 7.984 kB / 1.332 GB, free: 12.01 MB / 1.029 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.000124/0.3065, allocations: 118.4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3066, allocations: 15.89 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.3066, allocations: 16.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.3066, allocations: 8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3066, allocations: 3.938 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3066, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3068, allocations: 164.7 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3068, allocations: 0 / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.3069, allocations: 23.91 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3069, allocations: 4 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3069, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3069, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3069, allocations: 3.938 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.3074, allocations: 188.9 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.3074, allocations: 15.91 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3074, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3076, allocations: 23.91 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.3076, allocations: 15.92 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.3076, allocations: 0 / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.011e-05/0.3077, allocations: 109.1 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3077, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003033/0.308, allocations: 51.88 kB / 1.333 GB, free: 11.18 MB / 1.029 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.0008372/0.3089, allocations: 0.7255 MB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.3093, allocations: 191.2 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3093, allocations: 0 / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.3095, allocations: 63.89 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.3097, allocations: 5.875 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.3123, allocations: 1.711 MB / 1.336 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.3127, allocations: 0.7117 MB / 1.336 GB, free: 7.621 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.524e-05/0.3127, allocations: 11.98 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.3128, allocations: 27.42 kB / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.3128, allocations: 0 / 1.336 GB, free: 7.582 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.3381, allocations: 3.004 MB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.37, allocations: 6.484 kB / 1.339 GB, free: 4.723 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.61547320499085] Failed to read output from testmodel.py, exit status != 0: 11.535182071966119 11.55749333 11.253066549 Calling exit ...