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.001736/0.001736, allocations: 114.8 kB / 17.17 MB, free: 5.883 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.001877/0.001877, allocations: 206.2 kB / 20.13 MB, free: 2.941 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.849/2.849, allocations: 0.49 GB / 0.7923 GB, free: 1.246 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.002637/0.002637, allocations: 67.91 kB / 1.149 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9034, allocations: 176.1 MB / 1.321 GB, free: 24.71 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002243/0.9057, allocations: 1.576 MB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.9066, allocations: 0.6449 MB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.533e-05/0.9066, allocations: 2.969 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.9067, allocations: 11.88 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-05/0.9068, allocations: 21.88 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.9071, allocations: 106.6 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.9073, allocations: 105 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.9073, allocations: 19.45 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.9075, allocations: 48.88 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.9076, allocations: 49.53 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.9076, allocations: 5.188 kB / 1.324 GB, free: 22.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.9077, allocations: 98.03 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.9077, allocations: 18.17 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.9078, allocations: 50.95 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.9079, allocations: 150.8 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.908, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.908, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.908, allocations: 0 / 1.324 GB, free: 22.86 MB / 1.061 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.0006916/0.9087, allocations: 457.6 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.9087, allocations: 17.72 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/0.9087, allocations: 4.188 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.494e-05/0.9087, allocations: 37.28 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002729/0.909, allocations: 34.19 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.9092, allocations: 200.6 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.9092, allocations: 10.75 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.9092, allocations: 2.969 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.9095, allocations: 112.1 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.9095, allocations: 0 / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9096, allocations: 4 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.9096, allocations: 5.625 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.9099, allocations: 82.73 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.9105, allocations: 356.1 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.9108, allocations: 85.36 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.9109, allocations: 55.2 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.911, allocations: 80 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.9112, allocations: 129.3 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.9112, allocations: 0 / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0006181/0.9119, allocations: 216.4 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.9119, allocations: 55.41 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.912, allocations: 153.5 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.912, allocations: 25.7 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.912, allocations: 105.4 kB / 1.326 GB, free: 21.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.9121, allocations: 22.39 kB / 1.326 GB, free: 21.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.9121, allocations: 24.94 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.153e-05/0.9122, allocations: 320.6 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.9124, allocations: 63.19 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.9125, allocations: 56.03 kB / 1.327 GB, free: 20.87 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.9129, allocations: 142 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9129, allocations: 7.938 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000413/0.9133, allocations: 206.2 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.9133, allocations: 34.72 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9133, allocations: 0 / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.9133, allocations: 0 / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.9135, allocations: 23.14 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.9135, allocations: 5 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.9136, allocations: 17.12 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.9136, allocations: 5.797 kB / 1.327 GB, free: 20.65 MB / 1.061 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 6.886e-05/0.9137, allocations: 120.4 kB / 1.327 GB, free: 20.53 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.9137, allocations: 12.41 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.249e-05/0.9137, allocations: 18.2 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9138, allocations: 4.062 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9138, allocations: 3.938 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9138, allocations: 0.6562 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.9139, allocations: 196.5 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9139, allocations: 4 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.914, allocations: 14.88 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.914, allocations: 0.625 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.914, allocations: 8.062 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.914, allocations: 0.6875 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.914, allocations: 4.906 kB / 1.328 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004413/0.9145, allocations: 188.6 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.9145, allocations: 92.58 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.9145, allocations: 4.156 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.9146, allocations: 12.44 kB / 1.328 GB, free: 20.08 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.9147, allocations: 19.83 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.9147, allocations: 1.75 kB / 1.328 GB, free: 20.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.431e-05/0.9148, allocations: 109.1 kB / 1.328 GB, free: 19.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9148, allocations: 4 kB / 1.328 GB, free: 19.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002651/0.915, allocations: 40.03 kB / 1.328 GB, free: 19.98 MB / 1.061 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.0007072/0.9157, allocations: 0.7277 MB / 1.329 GB, free: 19.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005043/0.9162, allocations: 186.6 kB / 1.329 GB, free: 19.26 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9163, allocations: 0 / 1.329 GB, free: 19.26 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.9165, allocations: 58.75 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.9167, allocations: 13.19 kB / 1.329 GB, free: 19.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.9189, allocations: 1.723 MB / 1.331 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.919, allocations: 0.7104 MB / 1.331 GB, free: 17.22 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.9191, allocations: 11.44 kB / 1.331 GB, free: 17.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.9192, allocations: 30.45 kB / 1.331 GB, free: 17.2 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9192, allocations: 0 / 1.331 GB, free: 17.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.9394, allocations: 2.865 MB / 1.334 GB, free: 16.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.122/10.06, allocations: 4.438 kB / 1.334 GB, free: 16.7 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.15279100596672] Failed to read output from testmodel.py, exit status != 0: 10.192446673987433 10.225768317 9.311092716 Calling exit ...