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.0009752/0.0009752, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001146/0.001146, allocations: 209.7 kB / 22.24 MB, free: 3.57 MB / 13.93 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.046/1.046, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8018/0.8018, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) [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.001297/0.001297, allocations: 62.72 kB / 0.7181 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6625, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002049/0.6645, allocations: 1.553 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008592/0.6654, allocations: 0.6089 MB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.6655, allocations: 5.188 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.6656, allocations: 12.3 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.778e-05/0.6656, allocations: 16.62 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.6661, allocations: 109.5 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.6662, allocations: 100.2 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.6663, allocations: 18.03 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.6665, allocations: 57.03 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.6666, allocations: 43.08 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.6666, allocations: 7.5 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.6667, allocations: 90.78 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.6668, allocations: 26.48 kB / 0.8203 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.617e-05/0.6668, allocations: 30.22 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.667, allocations: 142.7 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6671, allocations: 1.5 kB / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6671, allocations: 0 / 0.8205 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.6671, allocations: 4 kB / 0.8205 GB, free: 15.29 MB / 0.6198 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.0006562/0.6677, allocations: 389.8 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6678, allocations: 10.81 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.6678, allocations: 38.42 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.668, allocations: 34.91 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.6682, allocations: 139.8 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6682, allocations: 7.547 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.6682, allocations: 5.562 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.6685, allocations: 106 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.6685, allocations: 0 / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6685, allocations: 1.219 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.6685, allocations: 4.766 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.6688, allocations: 99.59 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.6693, allocations: 307.5 kB / 0.8216 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.6695, allocations: 85.88 kB / 0.8217 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.6696, allocations: 54.08 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.6696, allocations: 2.281 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.6699, allocations: 123.1 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.6699, allocations: 0 / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004758/0.6703, allocations: 204.7 kB / 0.822 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.6704, allocations: 52.81 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.6705, allocations: 155.5 kB / 0.8222 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.6705, allocations: 28.03 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.6706, allocations: 102.8 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.6706, allocations: 37.11 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.6706, allocations: 29.02 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.6707, allocations: 320.3 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.6709, allocations: 83 kB / 0.8228 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.671, allocations: 84.14 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.6712, allocations: 149 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6712, allocations: 1.156 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003181/0.6715, allocations: 223 kB / 0.8233 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.6715, allocations: 33.89 kB / 0.8233 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.6716, allocations: 4 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6716, allocations: 1 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.6717, allocations: 22.02 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6717, allocations: 6.047 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.6717, allocations: 18.62 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.6718, allocations: 3.672 kB / 0.8233 GB, free: 13.21 MB / 0.6198 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.309e-05/0.6718, allocations: 125.8 kB / 0.8235 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/0.6719, allocations: 9.953 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.6719, allocations: 20.06 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6719, allocations: 4.781 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6719, allocations: 4.594 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.6719, allocations: 1.156 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.672, allocations: 162.5 kB / 0.8236 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.672, allocations: 0.9375 kB / 0.8236 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-05/0.6721, allocations: 16.72 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6721, allocations: 0 / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6721, allocations: 3.203 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6721, allocations: 3.938 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6721, allocations: 13.14 kB / 0.8237 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.6724, allocations: 182.2 kB / 0.8239 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.451e-05/0.6724, allocations: 11.52 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.6724, allocations: 2.094 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.6725, allocations: 13.89 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6726, allocations: 22.59 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6726, allocations: 3.453 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.562e-05/0.6726, allocations: 112.8 kB / 0.824 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6726, allocations: 0 / 0.824 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001801/0.6728, allocations: 37.67 kB / 0.8241 GB, free: 12.67 MB / 0.6198 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.0005887/0.6734, allocations: 0.7271 MB / 0.8248 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003584/0.6738, allocations: 212.3 kB / 0.825 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.6738, allocations: 0 / 0.825 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.6739, allocations: 60.84 kB / 0.825 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.6741, allocations: 10.28 kB / 0.825 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.6758, allocations: 1.838 MB / 0.8268 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.145e-05/0.6759, allocations: 87.61 kB / 0.8269 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.929e-05/0.676, allocations: 16.86 kB / 0.8269 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.676, allocations: 32.11 kB / 0.827 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.676, allocations: 0 / 0.827 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.6949, allocations: 3.399 MB / 0.8303 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.67/7.365, allocations: 7.625 kB / 0.8303 GB, free: 9.383 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.631388779263943] Failed to read output from testmodel.py, exit status != 0: 7.44327895808965 7.45360117 6.784616007 Calling exit ...