Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001317/0.001317, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002045/0.002045, allocations: 214.8 kB / 23.78 MB, free: 4.555 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.595/1.595, allocations: 230.6 MB / 257.6 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.04/1.04, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003283/0.003283, allocations: 70.27 kB / 0.6419 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.206, allocations: 89.17 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003437/0.2094, allocations: 1.532 MB / 0.7305 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2108, allocations: 0.6155 MB / 0.7311 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.2109, allocations: 3.938 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.211, allocations: 3.938 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.2111, allocations: 19.8 kB / 0.7311 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.2116, allocations: 115.7 kB / 0.7312 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2118, allocations: 99.7 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2119, allocations: 12.17 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.2121, allocations: 51.83 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.2122, allocations: 47.83 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.2122, allocations: 11.94 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.2124, allocations: 91.91 kB / 0.7315 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.385e-05/0.2125, allocations: 23.91 kB / 0.7316 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.2125, allocations: 27.86 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.2129, allocations: 159.6 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2129, allocations: 0 / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2129, allocations: 4 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.2129, allocations: 0 / 0.7318 GB, free: 14.02 MB / 0.5606 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.0009027/0.2138, allocations: 395.4 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2138, allocations: 8.031 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.038e-05/0.2138, allocations: 8.188 kB / 0.7321 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.2139, allocations: 34.75 kB / 0.7322 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.2142, allocations: 36.81 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2145, allocations: 130.4 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.2145, allocations: 12.3 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.2146, allocations: 8.375 kB / 0.7324 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2149, allocations: 97.56 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2149, allocations: 3.984 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.2149, allocations: 4 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.215, allocations: 4 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.2153, allocations: 87.92 kB / 0.7325 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.2161, allocations: 307.7 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.2164, allocations: 90.45 kB / 0.7329 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.2166, allocations: 56.88 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.2166, allocations: 0 / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.217, allocations: 123.2 kB / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 3.045e-06/0.217, allocations: 0 / 0.7331 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007447/0.2177, allocations: 205.5 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.2178, allocations: 59.34 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.218, allocations: 147.4 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.218, allocations: 29.81 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.2181, allocations: 108 kB / 0.7336 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2181, allocations: 23.88 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.2182, allocations: 29.69 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.2184, allocations: 322.8 kB / 0.734 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.2186, allocations: 81.66 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2188, allocations: 89.66 kB / 0.7341 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.2192, allocations: 142.5 kB / 0.7343 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2192, allocations: 0 / 0.7343 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000542/0.2197, allocations: 230.6 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.2198, allocations: 43.72 kB / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2198, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2198, allocations: 0 / 0.7345 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.22, allocations: 19.98 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.22, allocations: 3.938 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.2201, allocations: 19.91 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2202, allocations: 4 kB / 0.7346 GB, free: 10.88 MB / 0.5606 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.0001169/0.2203, allocations: 122.2 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.2203, allocations: 15.91 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.2204, allocations: 20.64 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.2204, allocations: 4 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2204, allocations: 3.938 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2204, allocations: 3.938 kB / 0.7348 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2206, allocations: 160.7 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2206, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2207, allocations: 15.98 kB / 0.7349 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.2207, allocations: 7.969 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.2207, allocations: 7.984 kB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2207, allocations: 8 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2207, allocations: 3.938 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.2212, allocations: 180.9 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.2212, allocations: 11.91 kB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2213, allocations: 0 / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2214, allocations: 15.97 kB / 0.7351 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.2215, allocations: 19.92 kB / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2215, allocations: 4 kB / 0.7352 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001008/0.2216, allocations: 109.1 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2216, allocations: 0 / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002949/0.2219, allocations: 39.94 kB / 0.7353 GB, free: 10.07 MB / 0.5606 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.0009624/0.2228, allocations: 0.7372 MB / 0.736 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005604/0.2234, allocations: 212.9 kB / 0.7362 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2234, allocations: 0 / 0.7362 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2236, allocations: 59.95 kB / 0.7363 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2239, allocations: 12.12 kB / 0.7363 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/0.2267, allocations: 1.827 MB / 0.7381 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.486e-05/0.2268, allocations: 89.31 kB / 0.7382 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.713e-05/0.2269, allocations: 11.98 kB / 0.7382 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.2269, allocations: 31.42 kB / 0.7382 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.2269, allocations: 0 / 0.7382 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2518, allocations: 3.036 MB / 0.7412 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.48, allocations: 20.64 kB / 0.7412 GB, free: 4.031 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.574759403942153] Failed to read output from testmodel.py, exit status != 0: 11.64325311302673 11.658288224 11.442076019 Calling exit ...