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.001783/0.001783, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001522/0.001522, allocations: 223.9 kB / 23.01 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.008 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 0.976/0.976, allocations: 150 MB / 463.2 MB, free: 10.56 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",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.00207/0.00207, allocations: 70.38 kB / 0.6412 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1714, allocations: 89.16 MB / 0.7283 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002821/0.1742, allocations: 1.569 MB / 0.7299 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.1755, allocations: 0.6583 MB / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1755, allocations: 4 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.1756, allocations: 11.88 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.1757, allocations: 19.78 kB / 0.7305 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1762, allocations: 115.7 kB / 0.7306 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1763, allocations: 95.64 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1764, allocations: 16.2 kB / 0.7307 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1766, allocations: 51.84 kB / 0.7308 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.1767, allocations: 47.77 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1767, allocations: 12 kB / 0.7309 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1769, allocations: 99.89 kB / 0.7309 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.1769, allocations: 19.92 kB / 0.731 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.177, allocations: 43.73 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1773, allocations: 155.7 kB / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1773, allocations: 0 / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1773, allocations: 3.938 kB / 0.7312 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.1773, allocations: 0 / 0.7312 GB, free: 14.47 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.0007809/0.178, allocations: 391.4 kB / 0.7315 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1781, allocations: 8.031 kB / 0.7315 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.1781, allocations: 38.73 kB / 0.7316 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.1784, allocations: 28.83 kB / 0.7316 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1787, allocations: 138.4 kB / 0.7317 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1787, allocations: 8.297 kB / 0.7317 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1787, allocations: 4.375 kB / 0.7318 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.179, allocations: 117.7 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.179, allocations: 0 / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1791, allocations: 0 / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1791, allocations: 7.984 kB / 0.7319 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1794, allocations: 83.92 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.1801, allocations: 323.7 kB / 0.7323 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.1804, allocations: 86.5 kB / 0.7323 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1806, allocations: 56.88 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1806, allocations: 8 kB / 0.7324 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.1809, allocations: 111.3 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.1809, allocations: 0 / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006846/0.1816, allocations: 217.5 kB / 0.7327 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.1817, allocations: 55.34 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.1818, allocations: 144 kB / 0.7329 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.1818, allocations: 25.7 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.1819, allocations: 104.1 kB / 0.733 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1819, allocations: 31.78 kB / 0.7331 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.182, allocations: 25.7 kB / 0.7331 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.1822, allocations: 323.1 kB / 0.7334 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1824, allocations: 59.94 kB / 0.7335 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.1825, allocations: 59.89 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.1829, allocations: 141.1 kB / 0.7336 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1829, allocations: 4 kB / 0.7336 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004952/0.1834, allocations: 211.2 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/0.1834, allocations: 29.7 kB / 0.7339 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1834, allocations: 0 / 0.7339 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1835, allocations: 0 / 0.7339 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1836, allocations: 15.98 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1836, allocations: 11.92 kB / 0.7339 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1837, allocations: 19.92 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1838, allocations: 4 kB / 0.7339 GB, free: 11.42 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.0001148/0.1839, allocations: 117.8 kB / 0.734 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1839, allocations: 19.89 kB / 0.7341 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.1839, allocations: 8.719 kB / 0.7341 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.184, allocations: 7.938 kB / 0.7341 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.184, allocations: 3.938 kB / 0.7341 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.184, allocations: 0 / 0.7341 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1842, allocations: 184.7 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1842, allocations: 0 / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1843, allocations: 19.97 kB / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1843, allocations: 0 / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1843, allocations: 0 / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1843, allocations: 0 / 0.7343 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.1843, allocations: 7.938 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.1847, allocations: 180.9 kB / 0.7345 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.1848, allocations: 11.91 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1848, allocations: 4 kB / 0.7345 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.1849, allocations: 15.97 kB / 0.7345 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.185, allocations: 15.92 kB / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.185, allocations: 4 kB / 0.7345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.1851, allocations: 113.3 kB / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1851, allocations: 192 / 0.7346 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002652/0.1853, allocations: 35.94 kB / 0.7346 GB, free: 10.61 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.0008191/0.1862, allocations: 0.7372 MB / 0.7354 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004798/0.1866, allocations: 187.2 kB / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1866, allocations: 0 / 0.7355 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.1868, allocations: 55.95 kB / 0.7356 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.187, allocations: 15.94 kB / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1895, allocations: 1.712 MB / 0.7373 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1898, allocations: 0.7041 MB / 0.738 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.999e-05/0.1899, allocations: 11.97 kB / 0.738 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.19, allocations: 31.42 kB / 0.738 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.19, allocations: 0 / 0.738 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03073/0.2207, allocations: 2.98 MB / 0.7409 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.9, allocations: 15.53 kB / 0.7409 GB, free: 4.156 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.889540986998327] Failed to read output from testmodel.py, exit status != 0: 11.013345831997867 11.038862466 10.856851813 Calling exit ...