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.00164/0.00164, allocations: 113.5 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.002086/0.002086, allocations: 212.5 kB / 23.04 MB, free: 5.082 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.708/2.708, allocations: 476.7 MB / 0.7715 GB, free: 4.301 MB / 0.6231 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.001934/0.001934, allocations: 61.3 kB / 1.118 GB, free: 39.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3219, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002958/0.3248, allocations: 1.596 MB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3261, allocations: 0.6484 MB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.3261, allocations: 3.938 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.3262, allocations: 7.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.3263, allocations: 27.72 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.3267, allocations: 107.7 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3269, allocations: 99.69 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.929e-05/0.327, allocations: 16.2 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.3271, allocations: 59.78 kB / 1.287 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.3272, allocations: 43.81 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3272, allocations: 8 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.3274, allocations: 99.89 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.3274, allocations: 19.92 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.3275, allocations: 47.67 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3278, allocations: 154.9 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3278, allocations: 4 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3278, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3278, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 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.0007674/0.3285, allocations: 383.5 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3286, allocations: 8.031 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.408e-05/0.3286, allocations: 192 / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.3286, allocations: 42.69 kB / 1.287 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.3289, allocations: 40.86 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.3291, allocations: 138.3 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3291, allocations: 8.359 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3291, allocations: 4.375 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.3294, allocations: 105.5 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3295, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3295, allocations: 0 / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.3295, allocations: 8 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.3298, allocations: 91.91 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.3304, allocations: 315.7 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3308, allocations: 90.5 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.3309, allocations: 56.88 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.331, allocations: 0 / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/0.3313, allocations: 119.3 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3313, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007099/0.332, allocations: 209.5 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.332, allocations: 55.39 kB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3322, allocations: 153.7 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3322, allocations: 25.98 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.3323, allocations: 104 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3323, allocations: 19.86 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.36e-05/0.3324, allocations: 33.64 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3325, allocations: 322.8 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.3327, allocations: 51.95 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.3329, allocations: 60.06 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.3333, allocations: 150.4 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3333, allocations: 3.938 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004727/0.3337, allocations: 199.2 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.3338, allocations: 33.7 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3338, allocations: 0 / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3338, allocations: 3.984 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.334, allocations: 15.98 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.334, allocations: 3.938 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3341, allocations: 27.91 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.3341, allocations: 3.984 kB / 1.29 GB, free: 5.617 MB / 0.9825 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.0001149/0.3342, allocations: 129.8 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3343, allocations: 11.91 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.3343, allocations: 16.7 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3343, allocations: 4 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3343, allocations: 7.938 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3343, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.3345, allocations: 160.7 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3345, allocations: 4 kB / 1.29 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.3346, allocations: 11.98 kB / 1.29 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3346, allocations: 7.938 kB / 1.29 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3346, allocations: 7.984 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3346, allocations: 4 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3346, allocations: 3.938 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.3351, allocations: 180.9 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.3351, allocations: 15.91 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.3351, allocations: 0 / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.3353, allocations: 16.17 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.3353, allocations: 23.89 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.577e-06/0.3353, allocations: 3.938 kB / 1.29 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.3354, allocations: 110.4 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3354, allocations: 0 / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002502/0.3357, allocations: 39.94 kB / 1.29 GB, free: 4.801 MB / 0.9825 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.0008093/0.3365, allocations: 0.7294 MB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004878/0.337, allocations: 187.2 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.337, allocations: 0 / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3372, allocations: 59.95 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.3374, allocations: 15.95 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3399, allocations: 1.718 MB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.3403, allocations: 0.704 MB / 1.294 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.3403, allocations: 15.98 kB / 1.294 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.3404, allocations: 31.42 kB / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3404, allocations: 0 / 1.294 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.3635, allocations: 3.006 MB / 1.297 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.31, allocations: 4.516 kB / 1.297 GB, free: 14.33 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.772087964985985] Failed to read output from testmodel.py, exit status != 0: 11.94205895200139 11.499450799 11.166054789 Calling exit ...