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.001299/0.001299, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001492/0.001492, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.857/2.857, allocations: 476.8 MB / 0.7715 GB, free: 3.91 MB / 0.6231 GB " [Timeout remaining time 176] 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.002015/0.002015, allocations: 62.34 kB / 1.118 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003024/0.3275, allocations: 1.552 MB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.3288, allocations: 0.6016 MB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3289, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3291, allocations: 11.86 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.3291, allocations: 19.8 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.3297, allocations: 103.8 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.3299, allocations: 103.6 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3301, allocations: 20.22 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.3303, allocations: 47.84 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.3304, allocations: 51.75 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.882e-05/0.3304, allocations: 8 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3306, allocations: 99.84 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.3307, allocations: 19.92 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.3308, allocations: 35.8 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003364/0.3311, allocations: 144.9 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3311, allocations: 4 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3311, allocations: 3.938 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.3311, allocations: 0 / 1.287 GB, free: 7.836 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.0009397/0.3321, allocations: 383.5 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3321, allocations: 12.03 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.653e-05/0.3322, allocations: 8.125 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.683e-05/0.3322, allocations: 38.73 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.3325, allocations: 24.88 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3329, allocations: 146.3 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3329, allocations: 8.375 kB / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3329, allocations: 384 / 1.287 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3332, allocations: 113.5 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3332, allocations: 3.938 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3333, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.3333, allocations: 7.984 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.3336, allocations: 83.92 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.3343, allocations: 311.8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.3347, allocations: 86.45 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.3349, allocations: 52.88 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3349, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.3352, allocations: 111.3 kB / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 2.214e-06/0.3352, allocations: 0 / 1.288 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007127/0.3359, allocations: 217.5 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.336, allocations: 51.41 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3361, allocations: 152.9 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.3362, allocations: 29.7 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/0.3362, allocations: 104 kB / 1.289 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.3363, allocations: 23.84 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.3364, allocations: 25.98 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3366, allocations: 322.8 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.3368, allocations: 85.66 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.337, allocations: 89.53 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/0.3374, allocations: 146.5 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3374, allocations: 0 / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005124/0.3379, allocations: 237 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.673e-05/0.338, allocations: 33.7 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.338, allocations: 0 / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.338, allocations: 3.984 kB / 1.29 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.3382, allocations: 23.92 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.3382, allocations: 3.938 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.3383, allocations: 23.91 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.3383, allocations: 7.984 kB / 1.29 GB, free: 4.684 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.0001279/0.3385, allocations: 118.9 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.3385, allocations: 7.953 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.3385, allocations: 16.7 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.3385, allocations: 4 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.3386, allocations: 7.938 kB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3386, allocations: 0 / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3388, allocations: 160.7 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3388, allocations: 0 / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3389, allocations: 15.98 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3389, allocations: 0 / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.3389, allocations: 7.984 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3389, allocations: 0 / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3389, allocations: 7.922 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.3394, allocations: 188.9 kB / 1.29 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.3394, allocations: 3.953 kB / 1.29 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3394, allocations: 4 kB / 1.29 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3395, allocations: 15.98 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.3396, allocations: 19.89 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3396, allocations: 4 kB / 1.29 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.3397, allocations: 111.4 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3397, allocations: 0 / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002708/0.34, allocations: 47.83 kB / 1.29 GB, free: 3.883 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.0008785/0.3409, allocations: 0.7294 MB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005031/0.3414, allocations: 213.1 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3414, allocations: 4 kB / 1.291 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3416, allocations: 67.86 kB / 1.291 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.3418, allocations: 14.17 kB / 1.291 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3446, allocations: 1.828 MB / 1.293 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.472e-05/0.3447, allocations: 87.56 kB / 1.293 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.641e-05/0.3448, allocations: 19.97 kB / 1.293 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.3449, allocations: 27.42 kB / 1.293 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.3449, allocations: 0 / 1.293 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.3684, allocations: 3.039 MB / 1.296 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.53, allocations: 4.734 kB / 1.296 GB, free: 13.84 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: 18.254972805036232] Failed to read output from testmodel.py, exit status != 0: 12.188855330925435 11.700058205 11.365568804 Calling exit ...