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.001432/0.001432, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001588/0.001588, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.007/1.007, allocations: 149.9 MB / 463 MB, free: 10.29 MB / 366.1 MB " [Timeout remaining time 178] 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.002139/0.002139, allocations: 66.55 kB / 0.641 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1813, allocations: 89.17 MB / 0.7281 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003049/0.1843, allocations: 1.546 MB / 0.7296 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1856, allocations: 0.6077 MB / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.1856, allocations: 0 / 0.7302 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1858, allocations: 11.86 kB / 0.7302 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.1858, allocations: 23.8 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.1863, allocations: 107.8 kB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1865, allocations: 91.64 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1866, allocations: 16.22 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1868, allocations: 51.83 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.1869, allocations: 47.77 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.1869, allocations: 4 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.1871, allocations: 95.84 kB / 0.7307 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.1871, allocations: 23.91 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.1872, allocations: 31.86 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1874, allocations: 155.7 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1874, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.1874, allocations: 0 / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1875, allocations: 0 / 0.7309 GB, free: 14.18 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.0009012/0.1884, allocations: 387.4 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1884, allocations: 12.03 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.1884, allocations: 42.67 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.1887, allocations: 36.83 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.189, allocations: 134.4 kB / 0.7314 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.189, allocations: 4.312 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.189, allocations: 4.375 kB / 0.7314 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.1894, allocations: 112.7 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1894, allocations: 3.938 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1894, allocations: 0 / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.1894, allocations: 4 kB / 0.7316 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1897, allocations: 95.89 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.1904, allocations: 303.8 kB / 0.7319 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1907, allocations: 94.44 kB / 0.732 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1909, allocations: 56.98 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1909, allocations: 3.938 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.1913, allocations: 111.3 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1913, allocations: 0 / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007089/0.192, allocations: 217.4 kB / 0.7324 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.192, allocations: 51.41 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.1922, allocations: 147.5 kB / 0.7326 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.1922, allocations: 25.7 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.521e-05/0.1923, allocations: 108.1 kB / 0.7327 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.1923, allocations: 27.84 kB / 0.7328 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.1924, allocations: 29.7 kB / 0.7328 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1926, allocations: 322.8 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1928, allocations: 85.66 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.193, allocations: 89.59 kB / 0.7333 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.1934, allocations: 142.5 kB / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1934, allocations: 0 / 0.7334 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005173/0.1939, allocations: 229.3 kB / 0.7336 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.194, allocations: 39.52 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.194, allocations: 0 / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.194, allocations: 4.094 kB / 0.7336 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1941, allocations: 27.84 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1941, allocations: 3.938 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.1943, allocations: 19.92 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1943, allocations: 0 / 0.7337 GB, free: 11.03 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.0001171/0.1944, allocations: 125.8 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1944, allocations: 11.91 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.1945, allocations: 16.72 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.1945, allocations: 3.984 kB / 0.7339 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1945, allocations: 7.938 kB / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1945, allocations: 0 / 0.7339 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.1947, allocations: 152.7 kB / 0.734 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1947, allocations: 7.984 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1948, allocations: 11.98 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1948, allocations: 4 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1948, allocations: 4 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1948, allocations: 0 / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1948, allocations: 3.938 kB / 0.734 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.1953, allocations: 180.9 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.1953, allocations: 19.89 kB / 0.7342 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1953, allocations: 0 / 0.7342 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1955, allocations: 19.98 kB / 0.7342 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1955, allocations: 19.91 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1955, allocations: 4 kB / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.1956, allocations: 109 kB / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1956, allocations: 0 / 0.7344 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002613/0.1959, allocations: 39.92 kB / 0.7344 GB, free: 10.23 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.0008614/0.1968, allocations: 0.7333 MB / 0.7351 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005317/0.1973, allocations: 204.9 kB / 0.7353 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1973, allocations: 0 / 0.7353 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1975, allocations: 63.89 kB / 0.7354 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1978, allocations: 23.86 kB / 0.7354 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.2009, allocations: 1.826 MB / 0.7372 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.201, allocations: 89.27 kB / 0.7373 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.2011, allocations: 15.97 kB / 0.7373 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2012, allocations: 31.42 kB / 0.7373 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2012, allocations: 0 / 0.7373 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0352/0.2364, allocations: 3.384 MB / 0.7406 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.22, allocations: 12.53 kB / 0.7406 GB, free: 3.824 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: 15.273850090801716] Failed to read output from testmodel.py, exit status != 0: 11.324815614614636 11.341326589 11.15072714 Calling exit ...