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.000706/0.000706, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0006786/0.0006786, allocations: 211.2 kB / 23 MB, free: 2.977 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.8243/0.8243, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.7179/0.7179, allocations: 203.8 MB / 0.5049 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: 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.0009586/0.0009586, allocations: 64.56 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4112, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001583/0.4128, allocations: 1.018 MB / 0.82 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.4143, allocations: 1.611 MB / 0.8216 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.786e-05/0.4144, allocations: 8 kB / 0.8216 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.4145, allocations: 21.53 kB / 0.8216 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.4146, allocations: 39.17 kB / 0.8217 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.415, allocations: 224.6 kB / 0.8219 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.4153, allocations: 331.9 kB / 0.8222 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4154, allocations: 63.52 kB / 0.8222 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.4155, allocations: 138.9 kB / 0.8224 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.4157, allocations: 104.7 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.4157, allocations: 33.25 kB / 0.8225 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.4158, allocations: 45.94 kB / 0.8226 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.4158, allocations: 52.61 kB / 0.8226 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.4159, allocations: 110.1 kB / 0.8227 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.4162, allocations: 356.6 kB / 0.823 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4162, allocations: 3.938 kB / 0.8231 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4162, allocations: 0 / 0.8231 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.4162, allocations: 1.094 kB / 0.8231 GB, free: 14.8 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006738/0.4169, allocations: 487 kB / 0.8235 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.417, allocations: 9.375 kB / 0.8235 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.417, allocations: 31.84 kB / 0.8236 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.4173, allocations: 215.9 kB / 0.8238 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.4173, allocations: 16.19 kB / 0.8238 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.4174, allocations: 26.72 kB / 0.8238 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.4176, allocations: 186.5 kB / 0.824 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4177, allocations: 4 kB / 0.824 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4177, allocations: 10.08 kB / 0.824 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.4177, allocations: 2.906 kB / 0.824 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.4179, allocations: 130.3 kB / 0.8241 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.4185, allocations: 0.5021 MB / 0.8246 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4188, allocations: 172.4 kB / 0.8248 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4189, allocations: 71.22 kB / 0.8248 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.419, allocations: 2.656 kB / 0.8248 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000273/0.4192, allocations: 201.1 kB / 0.825 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.4192, allocations: 0 / 0.825 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25): time 0.000494/0.4197, allocations: 338.9 kB / 0.8254 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.4198, allocations: 60.52 kB / 0.8254 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.4199, allocations: 183.3 kB / 0.8256 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.4199, allocations: 45.47 kB / 0.8256 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.42, allocations: 128.5 kB / 0.8258 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/0.4201, allocations: 61.48 kB / 0.8258 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.4201, allocations: 74.06 kB / 0.8259 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.4202, allocations: 330.7 kB / 0.8262 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4204, allocations: 127.6 kB / 0.8263 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.4205, allocations: 201.2 kB / 0.8265 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.4207, allocations: 211.8 kB / 0.8267 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4207, allocations: 0 / 0.8267 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003732/0.4211, allocations: 375.9 kB / 0.8271 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.4211, allocations: 39.19 kB / 0.8271 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4211, allocations: 1.719 kB / 0.8271 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4212, allocations: 1.875 kB / 0.8271 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.4212, allocations: 25.62 kB / 0.8271 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4212, allocations: 11.17 kB / 0.8272 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.4214, allocations: 61.95 kB / 0.8272 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4214, allocations: 9.984 kB / 0.8272 GB, free: 11.98 MB / 0.6198 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.0001071/0.4215, allocations: 154.7 kB / 0.8274 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.4215, allocations: 24.44 kB / 0.8274 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.4219, allocations: 277.5 kB / 0.8277 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4219, allocations: 2.344 kB / 0.8277 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4219, allocations: 0.7969 kB / 0.8277 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4219, allocations: 2.453 kB / 0.8277 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.4225, allocations: 0.5668 MB / 0.8282 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4225, allocations: 4 kB / 0.8282 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.4226, allocations: 16.36 kB / 0.8282 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4226, allocations: 1.531 kB / 0.8282 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4226, allocations: 10.92 kB / 0.8282 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4226, allocations: 5.562 kB / 0.8283 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4226, allocations: 0.75 kB / 0.8283 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.4229, allocations: 363.7 kB / 0.8286 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.4229, allocations: 21.75 kB / 0.8286 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.423, allocations: 15.5 kB / 0.8286 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.423, allocations: 12.28 kB / 0.8287 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.4231, allocations: 29.84 kB / 0.8287 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4231, allocations: 15.17 kB / 0.8287 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.4232, allocations: 135.6 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4232, allocations: 0 / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002254/0.4234, allocations: 61.17 kB / 0.8289 GB, free: 10.96 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: 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.000148/0.4236, allocations: 122.1 kB / 0.829 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.424, allocations: 312.5 kB / 0.8293 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.424, allocations: 0 / 0.8293 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.4241, allocations: 105.7 kB / 0.8294 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4244, allocations: 45.64 kB / 0.8294 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.425, allocations: 387.2 kB / 0.8298 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.306e-05/0.4251, allocations: 122.7 kB / 0.8299 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.4251, allocations: 30.7 kB / 0.83 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 4e-07/0.4251, allocations: 0 / 0.83 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of Templates: time 0.004883/0.43, allocations: 3.133 MB / 0.833 GB, free: 9.945 MB / 0.6198 GB " [Timeout remaining time 660] 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.4416758278384805] Failed to read output from testmodel.py, exit status != 0: 0.43567491602152586 0.44503076499999994 0.026908287000000003 Calling exit ...