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.001653/0.001653, allocations: 117.9 kB / 17.84 MB, free: 5.234 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.001982/0.001982, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.715/1.715, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.005/1.005, allocations: 150 MB / 460.2 MB, free: 5.262 MB / 350.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.002033/0.002033, allocations: 65.67 kB / 0.6368 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1933, allocations: 89.14 MB / 0.7238 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.003096/0.1964, allocations: 1.566 MB / 0.7253 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1976, allocations: 0.6446 MB / 0.726 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.1977, allocations: 7.938 kB / 0.726 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.1978, allocations: 7.938 kB / 0.726 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.875e-05/0.1979, allocations: 19.8 kB / 0.726 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.1984, allocations: 107.6 kB / 0.7261 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1985, allocations: 107.6 kB / 0.7262 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1987, allocations: 16.22 kB / 0.7262 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.1988, allocations: 51.77 kB / 0.7263 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.1989, allocations: 47.83 kB / 0.7263 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.199, allocations: 4 kB / 0.7263 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1991, allocations: 95.91 kB / 0.7264 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.1992, allocations: 23.92 kB / 0.7264 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.008e-05/0.1992, allocations: 43.72 kB / 0.7265 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1995, allocations: 155.6 kB / 0.7266 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1995, allocations: 0 / 0.7266 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1995, allocations: 4 kB / 0.7266 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1995, allocations: 4 kB / 0.7266 GB, free: 1.125 MB / 0.5294 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.0009538/0.2005, allocations: 456.6 kB / 0.7271 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.2005, allocations: 8.031 kB / 0.7271 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.681e-05/0.2005, allocations: 8.188 kB / 0.7271 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.2006, allocations: 30.75 kB / 0.7271 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.2009, allocations: 44.75 kB / 0.7272 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.2012, allocations: 200.1 kB / 0.7273 GB, free: 300 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.2012, allocations: 8.375 kB / 0.7274 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.2012, allocations: 4.375 kB / 0.7274 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.2016, allocations: 101.5 kB / 0.7275 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2016, allocations: 0 / 0.7275 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2016, allocations: 4 kB / 0.7275 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.2016, allocations: 8 kB / 0.7275 GB, free: 168 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.202, allocations: 87.91 kB / 0.7276 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007512/0.2027, allocations: 340.7 kB / 0.7279 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2031, allocations: 90.5 kB / 0.728 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.2033, allocations: 56.95 kB / 0.728 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2033, allocations: 7.984 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003224/0.2036, allocations: 119.3 kB / 0.7281 GB, free: 15.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.2036, allocations: 4 kB / 0.7281 GB, free: 15.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0007334/0.2043, allocations: 209.3 kB / 0.7283 GB, free: 15.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2044, allocations: 55.41 kB / 0.7284 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.2046, allocations: 149.5 kB / 0.7285 GB, free: 14.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2046, allocations: 25.7 kB / 0.7286 GB, free: 14.94 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2047, allocations: 108 kB / 0.7287 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.2047, allocations: 23.84 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.2048, allocations: 29.69 kB / 0.7287 GB, free: 14.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.2049, allocations: 322.8 kB / 0.729 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.2051, allocations: 55.95 kB / 0.7291 GB, free: 14.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.2053, allocations: 59.95 kB / 0.7291 GB, free: 14.33 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004223/0.2058, allocations: 146.5 kB / 0.7293 GB, free: 14.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2058, allocations: 0 / 0.7293 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005225/0.2063, allocations: 206.4 kB / 0.7295 GB, free: 13.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.503e-05/0.2063, allocations: 33.7 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2064, allocations: 4 kB / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2064, allocations: 0 / 0.7295 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2065, allocations: 15.98 kB / 0.7295 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2065, allocations: 7.922 kB / 0.7295 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.2067, allocations: 19.92 kB / 0.7295 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2067, allocations: 0 / 0.7295 GB, free: 13.88 MB / 0.545 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.0001327/0.2068, allocations: 129.8 kB / 0.7297 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2069, allocations: 15.89 kB / 0.7297 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.2069, allocations: 16.72 kB / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.2069, allocations: 0 / 0.7297 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.2069, allocations: 7.938 kB / 0.7297 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2069, allocations: 0 / 0.7297 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.2072, allocations: 189.6 kB / 0.7299 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2072, allocations: 0 / 0.7299 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.2073, allocations: 19.97 kB / 0.7299 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2073, allocations: 4 kB / 0.7299 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2073, allocations: 11.94 kB / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2073, allocations: 0 / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2073, allocations: 3.938 kB / 0.7299 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004755/0.2078, allocations: 185.3 kB / 0.7301 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.2078, allocations: 93.02 kB / 0.7302 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2079, allocations: 0 / 0.7302 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.208, allocations: 19.97 kB / 0.7302 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2081, allocations: 15.92 kB / 0.7302 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.2081, allocations: 0 / 0.7302 GB, free: 13.08 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001025/0.2082, allocations: 111.2 kB / 0.7303 GB, free: 12.97 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2082, allocations: 0 / 0.7303 GB, free: 12.97 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002813/0.2084, allocations: 35.94 kB / 0.7304 GB, free: 12.94 MB / 0.545 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.0009497/0.2094, allocations: 0.7372 MB / 0.7311 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.2099, allocations: 187.2 kB / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2099, allocations: 0 / 0.7313 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.2102, allocations: 59.94 kB / 0.7313 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.2104, allocations: 8 kB / 0.7313 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/0.2133, allocations: 1.714 MB / 0.733 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.2136, allocations: 0.7002 MB / 0.7337 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.77e-05/0.2137, allocations: 15.92 kB / 0.7337 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.2138, allocations: 27.7 kB / 0.7337 GB, free: 9.332 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.2138, allocations: 4 kB / 0.7337 GB, free: 9.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2338, allocations: 2.86 MB / 0.7365 GB, free: 6.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.43, allocations: 12.84 kB / 0.7365 GB, free: 6.578 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.647451784985606] Failed to read output from testmodel.py, exit status != 0: 8.566596877994016 8.585832947 8.383117167 Calling exit ...