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.001638/0.001638, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.00156/0.00156, allocations: 222 kB / 23.01 MB, free: 5.004 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9039/0.9039, allocations: 150 MB / 463.2 MB, free: 10.52 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.001958/0.001958, allocations: 66.08 kB / 0.6412 GB, free: 10.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 89.17 MB / 0.7283 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003001/0.1748, allocations: 1.575 MB / 0.7299 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1761, allocations: 0.6583 MB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.1761, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.1762, allocations: 11.86 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.1763, allocations: 23.8 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.1768, allocations: 111.7 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.177, allocations: 91.7 kB / 0.7307 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1771, allocations: 20.16 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.1773, allocations: 51.83 kB / 0.7308 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.1774, allocations: 43.83 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1774, allocations: 4 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1776, allocations: 103.8 kB / 0.7309 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1776, allocations: 23.91 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1777, allocations: 39.73 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.178, allocations: 159.6 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.178, allocations: 0 / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.178, allocations: 4 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.178, allocations: 3.938 kB / 0.7312 GB, free: 14.42 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.0008014/0.1788, allocations: 383.5 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1788, allocations: 12.03 kB / 0.7315 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.1789, allocations: 38.73 kB / 0.7316 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002866/0.1792, allocations: 40.81 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1794, allocations: 128.7 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.1794, allocations: 4.375 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1795, allocations: 4.375 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.1798, allocations: 109.7 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1798, allocations: 0 / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1798, allocations: 4 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.1798, allocations: 7.984 kB / 0.7319 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.1801, allocations: 91.86 kB / 0.732 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006448/0.1808, allocations: 319.7 kB / 0.7323 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.1811, allocations: 94.5 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1812, allocations: 56.86 kB / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1813, allocations: 0 / 0.7324 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.1815, allocations: 111.3 kB / 0.7325 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1815, allocations: 4 kB / 0.7325 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0006308/0.1822, allocations: 209.4 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1822, allocations: 51.41 kB / 0.7328 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1823, allocations: 145.5 kB / 0.7329 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1824, allocations: 29.7 kB / 0.7329 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.1824, allocations: 112 kB / 0.733 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.1825, allocations: 31.84 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.1825, allocations: 25.7 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1827, allocations: 326.8 kB / 0.7334 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1828, allocations: 52.23 kB / 0.7334 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.183, allocations: 67.89 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.1834, allocations: 148.4 kB / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1834, allocations: 0 / 0.7337 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000447/0.1838, allocations: 203.2 kB / 0.7338 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.1839, allocations: 33.7 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1839, allocations: 4 kB / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1839, allocations: 0 / 0.7339 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.184, allocations: 19.97 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.184, allocations: 3.938 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1842, allocations: 19.92 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1842, allocations: 4 kB / 0.7339 GB, free: 11.37 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.0001049/0.1843, allocations: 121.8 kB / 0.734 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.1843, allocations: 15.91 kB / 0.7341 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.1843, allocations: 12.72 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.1844, allocations: 4 kB / 0.7341 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1844, allocations: 3.938 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1844, allocations: 3.984 kB / 0.7341 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.1845, allocations: 172.7 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1845, allocations: 3.938 kB / 0.7343 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1847, allocations: 15.97 kB / 0.7343 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1847, allocations: 4 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1847, allocations: 4 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1847, allocations: 0 / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1847, allocations: 3.938 kB / 0.7343 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.1851, allocations: 180.9 kB / 0.7345 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.1851, allocations: 11.91 kB / 0.7345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1851, allocations: 0 / 0.7345 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.1852, allocations: 23.97 kB / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.1853, allocations: 15.92 kB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.1853, allocations: 3.984 kB / 0.7345 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.488e-05/0.1854, allocations: 103.3 kB / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1854, allocations: 0 / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002561/0.1856, allocations: 44.12 kB / 0.7346 GB, free: 10.56 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.0007914/0.1864, allocations: 0.7445 MB / 0.7354 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.1869, allocations: 183.2 kB / 0.7355 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1869, allocations: 0 / 0.7355 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.1871, allocations: 63.89 kB / 0.7356 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.1873, allocations: 7.938 kB / 0.7356 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.1897, allocations: 1.709 MB / 0.7373 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1901, allocations: 0.7002 MB / 0.738 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.344e-05/0.1901, allocations: 15.98 kB / 0.738 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.204e-05/0.1902, allocations: 35.41 kB / 0.738 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.1902, allocations: 0 / 0.738 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.2213, allocations: 2.968 MB / 0.7409 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11, allocations: 16.58 kB / 0.7409 GB, free: 4.117 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 & /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 sys.exit(0), Time elapsed: 14.523106775945053] Failed to read output from testmodel.py, exit status != 0: 11.099218839081004 11.117710284 10.93657516 Calling exit ...