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.0008527/0.0008527, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.0009228/0.0009228, allocations: 214.3 kB / 22.26 MB, free: 3.848 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: 3.574 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.8434/0.8434, allocations: 203.8 MB / 0.5042 GB, free: 0.7344 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.0009528/0.0009528, allocations: 66.5 kB / 0.7182 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.6, allocations: 102 MB / 0.8178 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002362/0.6024, allocations: 1.586 MB / 0.8194 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008478/0.6032, allocations: 0.6599 MB / 0.82 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.6033, allocations: 0 / 0.82 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.6034, allocations: 7.875 kB / 0.82 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.6034, allocations: 27.72 kB / 0.82 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.6038, allocations: 107.7 kB / 0.8202 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.604, allocations: 95.7 kB / 0.8202 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.6041, allocations: 16.02 kB / 0.8203 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.6043, allocations: 63.77 kB / 0.8203 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.6043, allocations: 43.84 kB / 0.8204 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.6045, allocations: 8 kB / 0.8204 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.6046, allocations: 103.8 kB / 0.8205 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.6047, allocations: 19.91 kB / 0.8205 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.6048, allocations: 47.73 kB / 0.8205 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.605, allocations: 145.7 kB / 0.8207 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.605, allocations: 4 kB / 0.8207 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.665e-06/0.605, allocations: 0 / 0.8207 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.605, allocations: 0 / 0.8207 GB, free: 11.77 MB / 0.6042 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.00066/0.6056, allocations: 383.5 kB / 0.821 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.6057, allocations: 13.47 kB / 0.8211 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.6057, allocations: 34.73 kB / 0.8211 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.6059, allocations: 36.77 kB / 0.8211 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.6062, allocations: 138.4 kB / 0.8213 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.6062, allocations: 4.375 kB / 0.8213 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.6062, allocations: 8.375 kB / 0.8213 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.6064, allocations: 113.7 kB / 0.8214 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6064, allocations: 0 / 0.8214 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.6064, allocations: 0 / 0.8214 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.6065, allocations: 8 kB / 0.8214 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.6066, allocations: 87.91 kB / 0.8215 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.6071, allocations: 323.6 kB / 0.8218 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.6073, allocations: 90.5 kB / 0.8219 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.6073, allocations: 60.88 kB / 0.8219 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.6074, allocations: 0 / 0.8219 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.6076, allocations: 111.3 kB / 0.822 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.6076, allocations: 0 / 0.822 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0003731/0.6079, allocations: 213.4 kB / 0.8222 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.608, allocations: 55.41 kB / 0.8223 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.6081, allocations: 146 kB / 0.8224 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.6081, allocations: 29.7 kB / 0.8224 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.6081, allocations: 104.1 kB / 0.8225 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.6082, allocations: 39.73 kB / 0.8226 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.6082, allocations: 25.72 kB / 0.8226 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.6083, allocations: 318.8 kB / 0.8229 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.6084, allocations: 59.95 kB / 0.823 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.6085, allocations: 59.94 kB / 0.823 GB, free: 9.164 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.6086, allocations: 142.5 kB / 0.8232 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6086, allocations: 0 / 0.8232 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002654/0.6089, allocations: 200.2 kB / 0.8234 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.6089, allocations: 37.69 kB / 0.8234 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6089, allocations: 0 / 0.8234 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.609, allocations: 0 / 0.8234 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.609, allocations: 19.98 kB / 0.8234 GB, free: 8.746 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.609, allocations: 7.938 kB / 0.8234 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.178e-05/0.6091, allocations: 19.92 kB / 0.8234 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.6091, allocations: 4 kB / 0.8234 GB, free: 8.715 MB / 0.6042 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.487e-05/0.6092, allocations: 118.8 kB / 0.8236 GB, free: 8.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.6092, allocations: 7.953 kB / 0.8236 GB, free: 8.582 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.6092, allocations: 16.7 kB / 0.8236 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.6092, allocations: 4 kB / 0.8236 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.6092, allocations: 7.938 kB / 0.8236 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6093, allocations: 0 / 0.8236 GB, free: 8.551 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.6094, allocations: 176.6 kB / 0.8238 GB, free: 8.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6094, allocations: 3.984 kB / 0.8238 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.6094, allocations: 19.92 kB / 0.8238 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6094, allocations: 3.984 kB / 0.8238 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.6094, allocations: 3.938 kB / 0.8238 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.6094, allocations: 0 / 0.8238 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6094, allocations: 4.016 kB / 0.8238 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.6096, allocations: 197.3 kB / 0.824 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.6097, allocations: 3.953 kB / 0.824 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.6097, allocations: 8 kB / 0.824 GB, free: 8.078 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.839e-05/0.6097, allocations: 19.97 kB / 0.824 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.6098, allocations: 15.92 kB / 0.824 GB, free: 8.043 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.6098, allocations: 8 kB / 0.824 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.6098, allocations: 107.2 kB / 0.8241 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6098, allocations: 0 / 0.8241 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001597/0.61, allocations: 35.94 kB / 0.8242 GB, free: 7.895 MB / 0.6042 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.0004561/0.6105, allocations: 0.7295 MB / 0.8249 GB, free: 7.137 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.6107, allocations: 175.3 kB / 0.825 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6107, allocations: 0 / 0.825 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-05/0.6108, allocations: 67.88 kB / 0.8251 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.611, allocations: 13.69 kB / 0.8251 GB, free: 6.875 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.6125, allocations: 1.722 MB / 0.8268 GB, free: 5.066 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.613, allocations: 0.6994 MB / 0.8275 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.525e-05/0.613, allocations: 19.7 kB / 0.8275 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.6131, allocations: 31.42 kB / 0.8275 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.6131, allocations: 4.281 kB / 0.8275 GB, free: 4.289 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.6298, allocations: 2.962 MB / 0.8304 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.224, allocations: 7.031 kB / 0.8304 GB, free: 1.461 MB / 0.6042 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.410698672989383] Failed to read output from testmodel.py, exit status != 0: 7.301770529942587 7.313761645 6.706620758 Calling exit ...