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.001035/0.001035, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001022/0.001022, allocations: 218.3 kB / 22.25 MB, free: 3.699 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.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.793 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.8203/0.8203, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.001113/0.001113, allocations: 71.19 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6535, allocations: 102 MB / 0.8178 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002415/0.6559, allocations: 1.587 MB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.6569, allocations: 0.6644 MB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.657, allocations: 5 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.6572, allocations: 10.55 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.354e-05/0.6572, allocations: 18.41 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.6578, allocations: 114.4 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.6579, allocations: 94.2 kB / 0.8203 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.6581, allocations: 19.19 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.6582, allocations: 53.8 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.6583, allocations: 45.7 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.6583, allocations: 7 kB / 0.8204 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.6585, allocations: 104.3 kB / 0.8205 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.6585, allocations: 21.77 kB / 0.8205 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.6586, allocations: 43.03 kB / 0.8205 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.6588, allocations: 148.5 kB / 0.8207 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6588, allocations: 4 kB / 0.8207 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6588, allocations: 0 / 0.8207 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6589, allocations: 0 / 0.8207 GB, free: 15.41 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.0006317/0.6595, allocations: 383.1 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6595, allocations: 11.62 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.6596, allocations: 34.17 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.6597, allocations: 38.97 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.66, allocations: 144.8 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.66, allocations: 2.625 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.66, allocations: 4.094 kB / 0.8213 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.6603, allocations: 109.5 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.6603, allocations: 1.375 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6603, allocations: 0.5625 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.6603, allocations: 7.781 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.6605, allocations: 88.47 kB / 0.8215 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.661, allocations: 320.8 kB / 0.8218 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.6612, allocations: 89.48 kB / 0.8219 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.6613, allocations: 55.98 kB / 0.8219 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.6613, allocations: 6.375 kB / 0.8219 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002206/0.6615, allocations: 117.1 kB / 0.822 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.6615, allocations: 5.75 kB / 0.822 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004079/0.6619, allocations: 200.1 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.662, allocations: 55.67 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6621, allocations: 146 kB / 0.8224 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.6621, allocations: 39.64 kB / 0.8225 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.6622, allocations: 98.36 kB / 0.8226 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.6622, allocations: 30.14 kB / 0.8226 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.6622, allocations: 29.58 kB / 0.8226 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.6623, allocations: 322.1 kB / 0.8229 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.6624, allocations: 54.91 kB / 0.823 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.6625, allocations: 68.67 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.6627, allocations: 139.3 kB / 0.8232 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6627, allocations: 4 kB / 0.8232 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002858/0.663, allocations: 200.5 kB / 0.8234 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.6631, allocations: 36.27 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6631, allocations: 2.906 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.6631, allocations: 1.062 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.6632, allocations: 19.12 kB / 0.8234 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6632, allocations: 3.938 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.6632, allocations: 19.86 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.6633, allocations: 2.156 kB / 0.8234 GB, free: 13.42 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.19e-05/0.6633, allocations: 127 kB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.6634, allocations: 8.797 kB / 0.8236 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.891e-05/0.6634, allocations: 11.56 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.6634, allocations: 6.469 kB / 0.8236 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6634, allocations: 3.938 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6634, allocations: 1.188 kB / 0.8236 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.6635, allocations: 173 kB / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6635, allocations: 0 / 0.8238 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.6636, allocations: 20.52 kB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6636, allocations: 5.375 kB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6636, allocations: 1.219 kB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.6636, allocations: 6.156 kB / 0.8238 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6636, allocations: 3.938 kB / 0.8238 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.6639, allocations: 185.1 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.6639, allocations: 11.5 kB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.6639, allocations: 10.05 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.664, allocations: 14.44 kB / 0.824 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.664, allocations: 18.16 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.664, allocations: 3.5 kB / 0.824 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.6641, allocations: 108.3 kB / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.6641, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001945/0.6643, allocations: 38.17 kB / 0.8242 GB, free: 12.88 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.0005578/0.6649, allocations: 0.7288 MB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.6652, allocations: 180.9 kB / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6652, allocations: 0 / 0.8251 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.6653, allocations: 60.38 kB / 0.8251 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.6655, allocations: 17.42 kB / 0.8251 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.6673, allocations: 1.727 MB / 0.8268 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.6675, allocations: 0.6983 MB / 0.8275 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.6676, allocations: 19.77 kB / 0.8275 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.6676, allocations: 31 kB / 0.8275 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.6676, allocations: 0 / 0.8275 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.6876, allocations: 2.977 MB / 0.8304 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/7.34, allocations: 5.609 kB / 0.8305 GB, free: 9.566 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.694667760981247] Failed to read output from testmodel.py, exit status != 0: 7.428664838895202 7.445214223 6.783558458 Calling exit ...