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.0007378/0.0007378, allocations: 105.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.0007844/0.0007844, allocations: 208.1 kB / 22.24 MB, free: 3.59 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 0.9634/0.9634, allocations: 230.6 MB / 256 MB, free: 9.629 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.7684/0.7684, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.0009675/0.0009675, allocations: 67.27 kB / 0.7181 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6897/0.6906, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002184/0.6928, allocations: 1.548 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.6937, allocations: 0.6046 MB / 0.8199 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.6938, allocations: 6.719 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/0.6939, allocations: 9.891 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.516e-05/0.6939, allocations: 13.33 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.6944, allocations: 113.1 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.6946, allocations: 98.45 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.6947, allocations: 17.64 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.6948, allocations: 61.31 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.491e-05/0.6949, allocations: 42.33 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.6949, allocations: 5.281 kB / 0.8202 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.6951, allocations: 92.78 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.6951, allocations: 21.81 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.6952, allocations: 37.3 kB / 0.8204 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.6954, allocations: 148.8 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6954, allocations: 0.6094 kB / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6954, allocations: 0 / 0.8205 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6954, 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.0006406/0.6961, allocations: 387.9 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.6961, allocations: 9.125 kB / 0.8209 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.22e-05/0.6961, allocations: 37.7 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.6963, allocations: 36.38 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.6965, allocations: 150.1 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.6965, allocations: 3.812 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.6966, allocations: 6.031 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.6968, allocations: 107.1 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6968, allocations: 0.6094 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6968, allocations: 0 / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.6968, allocations: 5.281 kB / 0.8212 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.697, allocations: 96.41 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.6976, allocations: 309.3 kB / 0.8216 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.6978, allocations: 87.81 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.723e-05/0.6979, allocations: 53.14 kB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.6979, allocations: 2.594 kB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.6981, allocations: 121.5 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.6981, allocations: 0 / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004395/0.6986, allocations: 202 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.6986, allocations: 53.41 kB / 0.8221 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.6987, allocations: 147.4 kB / 0.8222 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.6987, allocations: 35.17 kB / 0.8223 GB, free: 14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.6988, allocations: 98.67 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.6988, allocations: 30.3 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.6989, allocations: 29.72 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.699, allocations: 325.4 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.6991, allocations: 87.39 kB / 0.8228 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.6993, allocations: 85.5 kB / 0.8229 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.6995, allocations: 151.6 kB / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6995, allocations: 0 / 0.823 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002979/0.6998, allocations: 222.6 kB / 0.8233 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.6998, allocations: 36.31 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.6998, allocations: 0.6562 kB / 0.8233 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6999, allocations: 4 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.6999, allocations: 19.64 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.7, allocations: 3.938 kB / 0.8233 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.7, allocations: 24.53 kB / 0.8233 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7, allocations: 2.938 kB / 0.8233 GB, free: 13.2 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 7.408e-05/0.7001, allocations: 122.4 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.7001, allocations: 8.625 kB / 0.8235 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.7002, allocations: 12.48 kB / 0.8235 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7002, allocations: 8.969 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7002, allocations: 3.938 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.7002, allocations: 1.812 kB / 0.8235 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.7003, allocations: 158.6 kB / 0.8236 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7003, allocations: 3.938 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.7004, allocations: 17.03 kB / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7004, allocations: 0 / 0.8237 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.7004, allocations: 10.44 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7004, allocations: 1.875 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7004, allocations: 3.938 kB / 0.8237 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.7007, allocations: 190.5 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.7007, allocations: 7.484 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7007, allocations: 2.828 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.399e-05/0.7008, allocations: 17.02 kB / 0.8239 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.7008, allocations: 14.94 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.7008, allocations: 2.719 kB / 0.8239 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.7009, allocations: 113.6 kB / 0.824 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.7009, allocations: 9.062 kB / 0.824 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001731/0.701, allocations: 36.02 kB / 0.8241 GB, free: 12.66 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.0005374/0.7016, allocations: 0.7267 MB / 0.8248 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003388/0.7019, allocations: 212.6 kB / 0.825 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7019, allocations: 0 / 0.825 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.702, allocations: 60.81 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.0001759/0.7022, allocations: 17.31 kB / 0.825 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.704, allocations: 1.828 MB / 0.8268 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.704, allocations: 89.23 kB / 0.8269 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.023e-05/0.7041, allocations: 23.62 kB / 0.8269 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.7041, allocations: 29.56 kB / 0.827 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.7041, allocations: 0 / 0.827 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.7242, allocations: 3.395 MB / 0.8303 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.507/7.231, allocations: 6.688 kB / 0.8303 GB, free: 9.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.213563819881529] Failed to read output from testmodel.py, exit status != 0: 7.307861786335707 7.3194258340000005 6.621653241 Calling exit ...