Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 108.7 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 189.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.241/1.241, allocations: 173.4 MB / 471.3 MB, free: 6.574 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.92 kB / 0.6489 GB, free: 22.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.221, allocations: 89.52 MB / 0.7364 GB, free: 3.672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003009/0.2241, allocations: 1.544 MB / 0.7379 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2253, allocations: 0.5698 MB / 0.7384 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.2253, allocations: 0 / 0.7384 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2255, allocations: 11.88 kB / 0.7384 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.2255, allocations: 19.84 kB / 0.7385 GB, free: 1.508 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.226, allocations: 95.7 kB / 0.7386 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.2262, allocations: 95.7 kB / 0.7386 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2263, allocations: 24.16 kB / 0.7387 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2264, allocations: 47.77 kB / 0.7387 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2266, allocations: 47.83 kB / 0.7388 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.2266, allocations: 8 kB / 0.7388 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2268, allocations: 87.84 kB / 0.7389 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.2269, allocations: 19.92 kB / 0.7389 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.2269, allocations: 39.78 kB / 0.7389 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.2272, allocations: 139.5 kB / 0.739 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2272, allocations: 4 kB / 0.739 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2272, allocations: 0 / 0.739 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2272, allocations: 0 / 0.739 GB, free: 0.9062 MB / 0.545 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.0009372/0.2282, allocations: 460.5 kB / 0.7395 GB, free: 412 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2282, allocations: 8.031 kB / 0.7395 GB, free: 404 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.163e-05/0.2283, allocations: 8.891 kB / 0.7395 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.2285, allocations: 200.1 kB / 0.7397 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.2285, allocations: 8.359 kB / 0.7397 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2286, allocations: 8.375 kB / 0.7397 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.2289, allocations: 101.9 kB / 0.7398 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2289, allocations: 0 / 0.7398 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2289, allocations: 0 / 0.7398 GB, free: 32 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.229, allocations: 11.98 kB / 0.7398 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.2293, allocations: 87.86 kB / 0.7399 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007222/0.2301, allocations: 348.6 kB / 0.7402 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.2304, allocations: 86.52 kB / 0.7403 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2306, allocations: 68.81 kB / 0.7404 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2307, allocations: 0 / 0.7404 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.231, allocations: 115.4 kB / 0.7405 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.231, allocations: 0 / 0.7405 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0007032/0.2317, allocations: 209.4 kB / 0.7407 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.2318, allocations: 55.41 kB / 0.7407 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.232, allocations: 140 kB / 0.7409 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.232, allocations: 29.7 kB / 0.7409 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.2321, allocations: 100.1 kB / 0.741 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.2322, allocations: 23.8 kB / 0.741 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.2322, allocations: 29.98 kB / 0.7411 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.2324, allocations: 326.8 kB / 0.7414 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.2326, allocations: 55.95 kB / 0.7414 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2328, allocations: 63.94 kB / 0.7415 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/0.2332, allocations: 154.5 kB / 0.7416 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2332, allocations: 0 / 0.7416 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004967/0.2337, allocations: 203.2 kB / 0.7418 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.2338, allocations: 29.7 kB / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2338, allocations: 0 / 0.7418 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.2338, allocations: 4 kB / 0.7419 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.234, allocations: 31.89 kB / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.234, allocations: 0 / 0.7419 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.2341, allocations: 11.98 kB / 0.7419 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2341, allocations: 11.98 kB / 0.7419 GB, free: 13.73 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.0001258/0.2343, allocations: 125.8 kB / 0.742 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.2343, allocations: 7.953 kB / 0.742 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.2343, allocations: 8.719 kB / 0.742 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.2344, allocations: 7.984 kB / 0.742 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2344, allocations: 4 kB / 0.7421 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2344, allocations: 0 / 0.7421 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.2346, allocations: 197.5 kB / 0.7422 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2346, allocations: 0 / 0.7422 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2348, allocations: 27.91 kB / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2348, allocations: 0 / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.2348, allocations: 0 / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2348, allocations: 0 / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2348, allocations: 4 kB / 0.7423 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.2353, allocations: 188.8 kB / 0.7425 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/0.2353, allocations: 85 kB / 0.7425 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.2354, allocations: 7.984 kB / 0.7425 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.2355, allocations: 15.98 kB / 0.7426 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.2356, allocations: 7.984 kB / 0.7426 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2356, allocations: 12 kB / 0.7426 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2357, allocations: 109.2 kB / 0.7427 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2357, allocations: 0 / 0.7427 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002649/0.236, allocations: 43.83 kB / 0.7427 GB, free: 12.79 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.000243/0.2362, allocations: 123.1 kB / 0.7428 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.2368, allocations: 183.3 kB / 0.743 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2368, allocations: 0 / 0.743 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.237, allocations: 63.89 kB / 0.7431 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2372, allocations: 13.81 kB / 0.7431 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.2378, allocations: 257.1 kB / 0.7433 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003697/0.2382, allocations: 0.7041 MB / 0.744 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.2383, allocations: 15.42 kB / 0.744 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of SimCode: time 2.11e-07/0.2383, allocations: 0 / 0.744 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.003902/0.2422, allocations: 1.525 MB / 0.7455 GB, free: 9.84 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.658662409055978] Failed to read output from testmodel.py, exit status != 0: 0.24920250312425196 0.262986209 0.033162231 Calling exit ...