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.001361/0.001361, allocations: 109 kB / 20.48 MB, free: 1.473 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.001511/0.001511, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.564/1.564, allocations: 230.6 MB / 257.6 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.9758/0.9758, allocations: 150 MB / 464 MB, free: 10.51 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.002019/0.002019, allocations: 69.22 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 89.18 MB / 0.7291 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002867/0.1847, allocations: 1.578 MB / 0.7306 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1859, allocations: 0.6583 MB / 0.7313 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.1859, allocations: 0 / 0.7313 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.186, allocations: 7.875 kB / 0.7313 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.736e-05/0.1861, allocations: 23.78 kB / 0.7313 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.1865, allocations: 107.8 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1867, allocations: 95.64 kB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1868, allocations: 16.22 kB / 0.7315 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.187, allocations: 51.78 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1871, allocations: 51.81 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.1871, allocations: 4 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1873, allocations: 107.8 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.1873, allocations: 15.92 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1874, allocations: 43.73 kB / 0.7318 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1876, allocations: 155.7 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1876, allocations: 8 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1876, allocations: 0 / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1877, allocations: 0 / 0.7319 GB, free: 14.4 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.0008063/0.1885, allocations: 379.5 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1885, allocations: 15.97 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.483e-05/0.1885, allocations: 192 / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.1886, allocations: 38.69 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.1888, allocations: 36.81 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.1891, allocations: 138.4 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1891, allocations: 4.375 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1891, allocations: 8.359 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1894, allocations: 109.5 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1894, allocations: 3.938 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1894, allocations: 4 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.1895, allocations: 4 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.1898, allocations: 91.84 kB / 0.7327 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.1905, allocations: 311.8 kB / 0.733 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003251/0.1908, allocations: 94.44 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.191, allocations: 56.88 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.191, allocations: 4 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003185/0.1913, allocations: 111.3 kB / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1913, allocations: 0 / 0.7333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007107/0.192, allocations: 209.5 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1921, allocations: 59.39 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1922, allocations: 144.6 kB / 0.7337 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.1923, allocations: 33.7 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1923, allocations: 104.1 kB / 0.7338 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.1924, allocations: 23.8 kB / 0.7338 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.1924, allocations: 25.7 kB / 0.7338 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1926, allocations: 322.8 kB / 0.7342 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.1928, allocations: 59.95 kB / 0.7342 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.193, allocations: 60.17 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.1933, allocations: 141.5 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1933, allocations: 3.938 kB / 0.7344 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000506/0.1939, allocations: 211.2 kB / 0.7346 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.1939, allocations: 29.7 kB / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1939, allocations: 3.984 kB / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1939, allocations: 0 / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1941, allocations: 19.92 kB / 0.7347 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1941, allocations: 7.938 kB / 0.7347 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.1942, allocations: 19.91 kB / 0.7347 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.1943, allocations: 4 kB / 0.7347 GB, free: 11.35 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.0001256/0.1944, allocations: 129.8 kB / 0.7348 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1944, allocations: 15.91 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1944, allocations: 12.7 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/0.1945, allocations: 4 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1945, allocations: 3.938 kB / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1945, allocations: 0 / 0.7349 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1947, allocations: 172.7 kB / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1947, allocations: 0 / 0.735 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1948, allocations: 19.98 kB / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1948, allocations: 0 / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1948, allocations: 3.984 kB / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1948, allocations: 0 / 0.735 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1948, allocations: 7.938 kB / 0.735 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.1953, allocations: 180.9 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.1953, allocations: 7.906 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1954, allocations: 12 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1955, allocations: 11.98 kB / 0.7352 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.48e-05/0.1956, allocations: 19.91 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1956, allocations: 4 kB / 0.7353 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.1957, allocations: 109.5 kB / 0.7354 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1957, allocations: 0 / 0.7354 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002783/0.1959, allocations: 39.92 kB / 0.7354 GB, free: 10.54 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.0009242/0.1969, allocations: 0.7411 MB / 0.7361 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005516/0.1974, allocations: 187.2 kB / 0.7363 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1974, allocations: 0 / 0.7363 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1977, allocations: 59.89 kB / 0.7364 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1979, allocations: 15.97 kB / 0.7364 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.2006, allocations: 1.706 MB / 0.7381 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.2009, allocations: 0.7079 MB / 0.7387 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.642e-05/0.201, allocations: 11.98 kB / 0.7388 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.2011, allocations: 31.42 kB / 0.7388 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2011, allocations: 0 / 0.7388 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.2344, allocations: 2.999 MB / 0.7417 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.4, allocations: 9.469 kB / 0.7417 GB, free: 4.078 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.366551322047599] Failed to read output from testmodel.py, exit status != 0: 11.568002442014404 11.594435609 11.402318021 Calling exit ...