Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.0006998/0.0006998, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0007731/0.0007731, allocations: 211.8 kB / 23 MB, free: 3.117 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.8629/0.8629, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7601/0.7601, allocations: 203.8 MB / 0.5049 GB, free: 0.75 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [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.000772/0.000772, allocations: 69.92 kB / 0.7195 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5054, allocations: 102 MB / 0.8191 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001878/0.5073, allocations: 1.071 MB / 0.8201 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.5093, allocations: 1.667 MB / 0.8218 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.5095, allocations: 7.938 kB / 0.8218 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.5097, allocations: 19.73 kB / 0.8218 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.5098, allocations: 43.66 kB / 0.8218 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.5104, allocations: 231.7 kB / 0.8221 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.5109, allocations: 335.1 kB / 0.8224 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.511, allocations: 66.81 kB / 0.8224 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.5111, allocations: 135.6 kB / 0.8226 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.5113, allocations: 119.5 kB / 0.8227 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.5113, allocations: 32 kB / 0.8227 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.5114, allocations: 44 kB / 0.8228 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.5114, allocations: 55.77 kB / 0.8228 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.5115, allocations: 123.5 kB / 0.8229 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.5118, allocations: 361.4 kB / 0.8233 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5118, allocations: 0 / 0.8233 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5118, allocations: 0 / 0.8233 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.5118, allocations: 4 kB / 0.8233 GB, free: 10.22 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005896/0.5124, allocations: 491.7 kB / 0.8237 GB, free: 9.703 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.5124, allocations: 9.469 kB / 0.8238 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.5125, allocations: 28.8 kB / 0.8238 GB, free: 9.668 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.5127, allocations: 210.9 kB / 0.824 GB, free: 9.438 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.5127, allocations: 20.66 kB / 0.824 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.5128, allocations: 24.38 kB / 0.824 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.513, allocations: 180.1 kB / 0.8242 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.513, allocations: 7.922 kB / 0.8242 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.513, allocations: 11.98 kB / 0.8242 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.513, allocations: 4 kB / 0.8242 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.5132, allocations: 128.8 kB / 0.8243 GB, free: 9.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.5138, allocations: 0.6087 MB / 0.8249 GB, free: 8.414 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.5141, allocations: 170.8 kB / 0.8251 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.5142, allocations: 76.83 kB / 0.8252 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5142, allocations: 0 / 0.8252 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.5145, allocations: 206.3 kB / 0.8254 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 9.02e-07/0.5145, allocations: 0 / 0.8254 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.0004271/0.5149, allocations: 329.3 kB / 0.8257 GB, free: 7.621 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.5149, allocations: 59.34 kB / 0.8257 GB, free: 7.551 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.515, allocations: 182.2 kB / 0.8259 GB, free: 7.359 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.5151, allocations: 41.7 kB / 0.826 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.5151, allocations: 132.6 kB / 0.8261 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.5152, allocations: 59.55 kB / 0.8261 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.022e-05/0.5152, allocations: 69.69 kB / 0.8262 GB, free: 7.047 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.5153, allocations: 338.8 kB / 0.8265 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.5154, allocations: 95.95 kB / 0.8266 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5156, allocations: 140.2 kB / 0.8268 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5158, allocations: 206.2 kB / 0.827 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5158, allocations: 7.969 kB / 0.827 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003341/0.5161, allocations: 339.2 kB / 0.8273 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.5161, allocations: 41.69 kB / 0.8273 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5162, allocations: 0 / 0.8273 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.5162, allocations: 4 kB / 0.8273 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.105e-05/0.5162, allocations: 27.97 kB / 0.8274 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5162, allocations: 4 kB / 0.8274 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.5164, allocations: 63.83 kB / 0.8274 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5164, allocations: 8 kB / 0.8274 GB, free: 5.738 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * 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 0.0001026/0.5165, allocations: 157.7 kB / 0.8276 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.5165, allocations: 23.84 kB / 0.8276 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.5168, allocations: 268.8 kB / 0.8279 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5168, allocations: 0 / 0.8279 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5168, allocations: 7.938 kB / 0.8279 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5168, allocations: 4 kB / 0.8279 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.5174, allocations: 0.6314 MB / 0.8285 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5174, allocations: 0 / 0.8285 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.5174, allocations: 12 kB / 0.8285 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5174, allocations: 0 / 0.8285 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.5174, allocations: 11.98 kB / 0.8285 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5174, allocations: 0 / 0.8285 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5174, allocations: 0 / 0.8285 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.5177, allocations: 368.2 kB / 0.8289 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.5177, allocations: 31.78 kB / 0.8289 GB, free: 4.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5178, allocations: 8 kB / 0.8289 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.5178, allocations: 15.98 kB / 0.8289 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.5179, allocations: 23.95 kB / 0.8289 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5179, allocations: 23.92 kB / 0.829 GB, free: 4.094 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.518, allocations: 124.2 kB / 0.8291 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.518, allocations: 0 / 0.8291 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001999/0.5182, allocations: 63.92 kB / 0.8291 GB, free: 3.91 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002749/0.5184, allocations: 129.8 kB / 0.8293 GB, free: 3.777 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.5188, allocations: 279.8 kB / 0.8295 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5188, allocations: 0 / 0.8295 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.5189, allocations: 99.83 kB / 0.8296 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.5191, allocations: 43.95 kB / 0.8297 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.5196, allocations: 398.5 kB / 0.83 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.5198, allocations: 0.7362 MB / 0.8308 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.5198, allocations: 23.44 kB / 0.8308 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/0.5198, allocations: 0 / 0.8308 GB, free: 2.145 MB / 0.6042 GB Notification: Performance of Templates: time 0.00314/0.523, allocations: 3.085 MB / 0.8338 GB, free: 15.08 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.775026647839695] Failed to read output from testmodel.py, exit status != 0: 0.528119222028181 0.5424580560000001 0.028399551000000002 Calling exit ...