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.0009235/0.0009235, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001413/0.001413, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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.041/1.041, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.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-535:34: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-535:42: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.7837/0.7837, allocations: 154.9 MB / 415.1 MB, free: 208 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.331e-05, allocations: 2.312 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002024/0.002047, allocations: 1.032 MB / 481.4 MB, free: 5.504 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.003846, allocations: 1.673 MB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.003981, allocations: 7.938 kB / 483.1 MB, free: 3.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.00413, allocations: 20.28 kB / 483.1 MB, free: 3.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.00425, allocations: 39.34 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.004731, allocations: 224 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.00502, allocations: 343.8 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.005143, allocations: 55.73 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.005346, allocations: 187.6 kB / 483.9 MB, free: 2.984 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.00546, allocations: 96.25 kB / 484 MB, free: 2.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.005496, allocations: 33.94 kB / 484.1 MB, free: 2.859 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.005577, allocations: 44 kB / 484.1 MB, free: 2.816 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.005621, allocations: 47.83 kB / 484.1 MB, free: 2.77 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.005696, allocations: 91.8 kB / 484.2 MB, free: 2.68 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.005929, allocations: 231.3 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005932, allocations: 0.5938 kB / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005932, allocations: 0 / 484.5 MB, free: 2.453 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.005936, allocations: 4.969 kB / 484.5 MB, free: 2.449 MB / 442.7 MB 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.0005603/0.006497, allocations: 454.1 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.006532, allocations: 13.34 kB / 484.9 MB, free: 1.961 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.00659, allocations: 36.89 kB / 485 MB, free: 1.926 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.006832, allocations: 189.3 kB / 485.1 MB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.006864, allocations: 16.66 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.006906, allocations: 23.22 kB / 485.2 MB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.007129, allocations: 153 kB / 485.3 MB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.007136, allocations: 192 / 485.3 MB, free: 1.527 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.007149, allocations: 4.375 kB / 485.3 MB, free: 1.523 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007156, allocations: 7.938 kB / 485.3 MB, free: 1.516 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.943e-05/0.007255, allocations: 70.11 kB / 485.4 MB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.00774, allocations: 347.4 kB / 485.8 MB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.007917, allocations: 112 kB / 485.9 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.007967, allocations: 42.7 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.007983, allocations: 0.625 kB / 485.9 MB, free: 0.9375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.008151, allocations: 152.4 kB / 486.1 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.008153, allocations: 0 / 486.1 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002137/0.008367, allocations: 169.4 kB / 486.2 MB, free: 0.6094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.0084, allocations: 56.03 kB / 486.3 MB, free: 0.543 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.008503, allocations: 183.4 kB / 486.5 MB, free: 360 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.008533, allocations: 42.33 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.008583, allocations: 117.2 kB / 486.6 MB, free: 192 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.008626, allocations: 67.48 kB / 486.7 MB, free: 124 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.008704, allocations: 70.45 kB / 486.7 MB, free: 48 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.0088, allocations: 338.8 kB / 487.1 MB, free: 15.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.008882, allocations: 71.45 kB / 487.1 MB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.076e-05/0.008972, allocations: 139.7 kB / 487.3 MB, free: 15.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.009094, allocations: 156.9 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.009097, allocations: 0.7812 kB / 487.4 MB, free: 15.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002101/0.009307, allocations: 251.5 kB / 487.7 MB, free: 15.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.009336, allocations: 33.7 kB / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00934, allocations: 0 / 487.7 MB, free: 15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.009352, allocations: 4.688 kB / 487.7 MB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.009427, allocations: 31.92 kB / 487.8 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.009431, allocations: 5.219 kB / 487.8 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.009537, allocations: 44.38 kB / 487.8 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.009556, allocations: 15.98 kB / 487.8 MB, free: 14.9 MB / 458.7 MB 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.0003366/0.009892, allocations: 136.8 kB / 487.9 MB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.009918, allocations: 27.97 kB / 488 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.01008, allocations: 136.1 kB / 488.1 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01008, allocations: 9.094 kB / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01008, allocations: 0 / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01009, allocations: 0 / 488.1 MB, free: 14.58 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.01041, allocations: 361.8 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01041, allocations: 1.906 kB / 488.5 MB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.133e-05/0.01045, allocations: 19.92 kB / 488.5 MB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01045, allocations: 0 / 488.5 MB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01047, allocations: 11.88 kB / 488.5 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01047, allocations: 4 kB / 488.5 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01047, allocations: 0.6562 kB / 488.5 MB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01061, allocations: 227.7 kB / 488.7 MB, free: 13.94 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.01063, allocations: 16.59 kB / 488.7 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.01066, allocations: 19.92 kB / 488.8 MB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.01072, allocations: 13.3 kB / 488.8 MB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.01077, allocations: 28.97 kB / 488.8 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.0108, allocations: 17.02 kB / 488.8 MB, free: 13.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.01083, allocations: 43.06 kB / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01083, allocations: 0 / 488.9 MB, free: 13.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001808/0.01101, allocations: 60.55 kB / 488.9 MB, free: 13.75 MB / 458.7 MB 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.0001223/0.01113, allocations: 104.7 kB / 489 MB, free: 13.64 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.01135, allocations: 238.4 kB / 489.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01135, allocations: 0 / 489.3 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.01142, allocations: 70.78 kB / 489.3 MB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01161, allocations: 50.38 kB / 489.4 MB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004007/0.01201, allocations: 329.5 kB / 489.7 MB, free: 12.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.01205, allocations: 80.33 kB / 489.8 MB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.01211, allocations: 26.52 kB / 489.8 MB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.01223, allocations: 107.9 kB / 489.9 MB, free: 12.7 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01223, allocations: 0.875 kB / 489.9 MB, free: 12.7 MB / 458.7 MB Notification: Performance of Templates: time 0.005575/0.01781, allocations: 3.841 MB / 493.8 MB, free: 9.141 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7812306098639965]