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.001045/0.001045, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001136/0.001136, allocations: 181 kB / 23.36 MB, free: 1.133 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.032/1.032, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.8497/0.8497, allocations: 154.9 MB / 415.1 MB, free: 200 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.823e-06/1.823e-06, allocations: 0 / 480.4 MB, free: 6.465 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.252e-05, allocations: 2.312 kB / 480.4 MB, free: 6.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001789/0.001812, allocations: 1.065 MB / 481.5 MB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.003785, allocations: 1.681 MB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.003914, allocations: 0 / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004037, allocations: 24.39 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.004146, allocations: 43.61 kB / 483.2 MB, free: 3.695 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.004607, allocations: 225.4 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002922/0.004899, allocations: 334 kB / 483.8 MB, free: 3.152 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.005023, allocations: 59.45 kB / 483.8 MB, free: 3.098 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.005219, allocations: 187.6 kB / 484 MB, free: 2.914 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.00534, allocations: 95.72 kB / 484.1 MB, free: 2.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.005376, allocations: 32.66 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.005459, allocations: 47.98 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.005499, allocations: 53.05 kB / 484.2 MB, free: 2.691 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.326e-05/0.005572, allocations: 87.8 kB / 484.3 MB, free: 2.605 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.005818, allocations: 227.3 kB / 484.6 MB, free: 2.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005821, allocations: 1.062 kB / 484.6 MB, free: 2.383 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005822, allocations: 3.938 kB / 484.6 MB, free: 2.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005826, allocations: 0 / 484.6 MB, free: 2.379 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.0005639/0.00639, allocations: 459.1 kB / 485 MB, free: 1.898 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.006423, allocations: 12.69 kB / 485 MB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.006479, allocations: 32.91 kB / 485 MB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.006701, allocations: 186.1 kB / 485.2 MB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.006728, allocations: 20.66 kB / 485.3 MB, free: 1.633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.006759, allocations: 25.69 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.006957, allocations: 146.6 kB / 485.4 MB, free: 1.461 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.006966, allocations: 4.188 kB / 485.4 MB, free: 1.457 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.006981, allocations: 12.3 kB / 485.4 MB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.006989, allocations: 8.453 kB / 485.4 MB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.975e-05/0.007088, allocations: 70.95 kB / 485.5 MB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.007574, allocations: 346.4 kB / 485.9 MB, free: 1.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.00776, allocations: 107 kB / 486 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.007809, allocations: 42.8 kB / 486 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.007824, allocations: 0 / 486 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.007996, allocations: 156.3 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 1.572e-06/0.007997, allocations: 0.7188 kB / 486.2 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002155/0.008213, allocations: 161.5 kB / 486.3 MB, free: 0.5391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.008245, allocations: 59.39 kB / 486.4 MB, free: 480 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.008344, allocations: 180 kB / 486.5 MB, free: 288 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.008373, allocations: 46.31 kB / 486.6 MB, free: 236 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.008421, allocations: 116.6 kB / 486.7 MB, free: 116 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.008461, allocations: 64.12 kB / 486.8 MB, free: 52 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.801e-05/0.008549, allocations: 77.62 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.008629, allocations: 327.4 kB / 487.2 MB, free: 15.64 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.04e-05/0.008709, allocations: 74.23 kB / 487.2 MB, free: 15.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.529e-05/0.008805, allocations: 147.6 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.008929, allocations: 153.8 kB / 487.5 MB, free: 15.22 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.008931, allocations: 1.562 kB / 487.5 MB, free: 15.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002138/0.009145, allocations: 241.1 kB / 487.8 MB, free: 14.97 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.009179, allocations: 39.72 kB / 487.8 MB, free: 14.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.009185, allocations: 10.02 kB / 487.8 MB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009198, allocations: 3.938 kB / 487.8 MB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-05/0.009283, allocations: 32.92 kB / 487.8 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.009287, allocations: 4 kB / 487.9 MB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.009396, allocations: 45.75 kB / 487.9 MB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.009415, allocations: 15.98 kB / 487.9 MB, free: 14.82 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 9.539e-05/0.00951, allocations: 135.8 kB / 488 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.009534, allocations: 19.98 kB / 488.1 MB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.009714, allocations: 148.7 kB / 488.2 MB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.009719, allocations: 7.938 kB / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.00972, allocations: 0 / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.009725, allocations: 3.984 kB / 488.2 MB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.01006, allocations: 362 kB / 488.6 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01006, allocations: 0 / 488.6 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/0.01011, allocations: 16 kB / 488.6 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01011, allocations: 0 / 488.6 MB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01012, allocations: 15.92 kB / 488.6 MB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01012, allocations: 1.594 kB / 488.6 MB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01013, allocations: 0 / 488.6 MB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.01028, allocations: 235.7 kB / 488.8 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.01029, allocations: 11.91 kB / 488.8 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.01032, allocations: 20.67 kB / 488.9 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.01039, allocations: 13.98 kB / 488.9 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.01044, allocations: 27.95 kB / 488.9 MB, free: 13.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01046, allocations: 7.984 kB / 488.9 MB, free: 13.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.903e-05/0.0105, allocations: 47.06 kB / 489 MB, free: 13.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0105, allocations: 0 / 489 MB, free: 13.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.01069, allocations: 61.17 kB / 489 MB, free: 13.67 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.0001296/0.01082, allocations: 103.3 kB / 489.1 MB, free: 13.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.01104, allocations: 234.5 kB / 489.4 MB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.01105, allocations: 4 kB / 489.4 MB, free: 13.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.01112, allocations: 75.56 kB / 489.4 MB, free: 13.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.01132, allocations: 48.19 kB / 489.5 MB, free: 13.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.01175, allocations: 333.7 kB / 489.8 MB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.01181, allocations: 76.33 kB / 489.9 MB, free: 12.75 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.0119, allocations: 32.16 kB / 489.9 MB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.01206, allocations: 103.3 kB / 490 MB, free: 12.62 MB / 458.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01206, allocations: 1.031 kB / 490 MB, free: 12.62 MB / 458.7 MB Notification: Performance of Templates: time 0.005603/0.01767, allocations: 3.835 MB / 493.8 MB, free: 9.055 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.793463638983667]