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.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.001986/0.001986, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002486/0.002486, allocations: 212.7 kB / 22.24 MB, free: 5.258 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.362/1.362, allocations: 203.8 MB / 0.5041 GB, free: 4.617 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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: 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: IDEAS 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.00204/0.00204, allocations: 67.89 kB / 0.7186 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7303/0.7323, allocations: 102 MB / 0.8182 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003724/0.7361, allocations: 1.544 MB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.7374, allocations: 0.6104 MB / 0.8203 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.7375, allocations: 1.031 kB / 0.8203 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.7376, allocations: 12.72 kB / 0.8203 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.361e-05/0.7377, allocations: 21.09 kB / 0.8204 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.7383, allocations: 106.6 kB / 0.8205 GB, free: 27.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.7385, allocations: 103.4 kB / 0.8206 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.7387, allocations: 13.86 kB / 0.8206 GB, free: 27.35 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002537/0.7389, allocations: 57.09 kB / 0.8206 GB, free: 27.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.739, allocations: 41.17 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.7391, allocations: 11.75 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.7393, allocations: 92.89 kB / 0.8208 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.7393, allocations: 21.36 kB / 0.8208 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.7394, allocations: 34.98 kB / 0.8208 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.7398, allocations: 152.4 kB / 0.821 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7398, allocations: 1.344 kB / 0.821 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7398, allocations: 0 / 0.821 GB, free: 27.2 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.7398, allocations: 0.5938 kB / 0.821 GB, free: 27.2 MB / 0.6387 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.0009468/0.7407, allocations: 382.8 kB / 0.8213 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.7408, allocations: 13.25 kB / 0.8214 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.7412, allocations: 33.98 kB / 0.8214 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.7414, allocations: 142 kB / 0.8215 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.7415, allocations: 3.906 kB / 0.8215 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.7415, allocations: 4.766 kB / 0.8215 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.7419, allocations: 115 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.7419, allocations: 0.5312 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.7419, allocations: 1.156 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.742, allocations: 5.219 kB / 0.8216 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.7424, allocations: 88.92 kB / 0.8217 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.7431, allocations: 285.9 kB / 0.822 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.7434, allocations: 94.94 kB / 0.8221 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.7436, allocations: 53.64 kB / 0.8221 GB, free: 26.35 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.7436, allocations: 5.422 kB / 0.8221 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.744, allocations: 110.8 kB / 0.8223 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.744, allocations: 0 / 0.8223 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=9): time 0.0007324/0.7447, allocations: 213.5 kB / 0.8225 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7448, allocations: 57.56 kB / 0.8225 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.7449, allocations: 145.5 kB / 0.8227 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7449, allocations: 30.98 kB / 0.8227 GB, free: 26 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.745, allocations: 100.7 kB / 0.8228 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.745, allocations: 33.05 kB / 0.8228 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.745, allocations: 25.22 kB / 0.8228 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.7451, allocations: 333.9 kB / 0.8232 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7453, allocations: 83.5 kB / 0.8232 GB, free: 25.49 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.7455, allocations: 84.06 kB / 0.8233 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.7459, allocations: 151.1 kB / 0.8235 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7459, allocations: 0 / 0.8235 GB, free: 25.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004938/0.7464, allocations: 227 kB / 0.8237 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.7464, allocations: 34.16 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7464, allocations: 0 / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7465, allocations: 1.125 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.7466, allocations: 19.27 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7466, allocations: 4.875 kB / 0.8237 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.7468, allocations: 23.42 kB / 0.8237 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.7468, allocations: 11.27 kB / 0.8238 GB, free: 25.21 MB / 0.6387 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 8.907e-05/0.7469, allocations: 119.2 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.7469, allocations: 8.906 kB / 0.8239 GB, free: 25.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.7469, allocations: 12.31 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.7469, allocations: 5.781 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7469, allocations: 0 / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.747, allocations: 4.562 kB / 0.8239 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7471, allocations: 143.4 kB / 0.824 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7471, allocations: 0 / 0.824 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.7472, allocations: 21.83 kB / 0.8241 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.7472, allocations: 0 / 0.8241 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.7472, allocations: 2.703 kB / 0.8241 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7472, allocations: 0 / 0.8241 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.7472, allocations: 6.109 kB / 0.8241 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.7477, allocations: 193.8 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.7477, allocations: 8.328 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.7477, allocations: 2.266 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.7479, allocations: 13.31 kB / 0.8243 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.7479, allocations: 17.91 kB / 0.8243 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.7479, allocations: 3.391 kB / 0.8243 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.748, allocations: 110.3 kB / 0.8244 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.748, allocations: 0 / 0.8244 GB, free: 24.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003002/0.7483, allocations: 44.64 kB / 0.8244 GB, free: 24.7 MB / 0.6387 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.0001724/0.7485, allocations: 112.6 kB / 0.8246 GB, free: 24.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.749, allocations: 208.1 kB / 0.8248 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.749, allocations: 0 / 0.8248 GB, free: 24.49 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.7492, allocations: 57.72 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.7494, allocations: 14.58 kB / 0.8248 GB, free: 24.48 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.75, allocations: 232.4 kB / 0.825 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.547e-05/0.7501, allocations: 88.7 kB / 0.8251 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.7502, allocations: 19.75 kB / 0.8251 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.7502, allocations: 16.42 kB / 0.8252 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.7502, allocations: 1.406 kB / 0.8252 GB, free: 24.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.005438/0.7557, allocations: 1.552 MB / 0.8267 GB, free: 24.07 MB / 0.6387 GB " [Timeout remaining time 659] 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: 7.4508967492729425] Failed to read output from testmodel.py, exit status != 0: 0.7645875513553619 0.77900263 0.036109048000000005 Calling exit ...