Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001217/0.001217, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002846, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001105/0.001105, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002511, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1288/1.139, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8339/0.8339, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2965/1.13, allocations: 49.13 MB / 448.4 MB, free: 6.023 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.529e-05, allocations: 4.969 kB / 449.7 MB, free: 4.738 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001453/0.001478, allocations: 0.7779 MB / 450.5 MB, free: 3.996 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.002737, allocations: 1.207 MB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.002779, allocations: 0 / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.002805, allocations: 3.938 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.002855, allocations: 15.31 kB / 451.7 MB, free: 2.762 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.00319, allocations: 125.7 kB / 451.8 MB, free: 2.641 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.003348, allocations: 119.2 kB / 451.9 MB, free: 2.535 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.678e-05/0.003424, allocations: 10.7 kB / 451.9 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.003541, allocations: 80.34 kB / 452 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.003619, allocations: 37.8 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.003639, allocations: 12 kB / 452.1 MB, free: 2.41 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.362e-05/0.003713, allocations: 24.97 kB / 452.1 MB, free: 2.387 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.003734, allocations: 13.95 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.003772, allocations: 24.98 kB / 452.1 MB, free: 2.352 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.003912, allocations: 76.34 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.003929, allocations: 0 / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.00393, allocations: 0.7188 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.003946, allocations: 0 / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004724/0.004419, allocations: 317.1 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.004447, allocations: 12.03 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004484, allocations: 9.734 kB / 452.5 MB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.564e-05/0.00457, allocations: 121.5 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.004583, allocations: 7.188 kB / 452.7 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.004599, allocations: 12.31 kB / 452.7 MB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.004712, allocations: 62.94 kB / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.00472, allocations: 192 / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004727, allocations: 384 / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004733, allocations: 384 / 452.7 MB, free: 1.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.004762, allocations: 17.42 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.005081, allocations: 181 kB / 452.9 MB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.005187, allocations: 35.31 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.005209, allocations: 12.86 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.005217, allocations: 1.719 kB / 453 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.005325, allocations: 67.44 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.814e-06/0.005327, allocations: 0 / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000151/0.005478, allocations: 81.64 kB / 453.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.005521, allocations: 56.28 kB / 453.2 MB, free: 1.195 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.744e-05/0.005589, allocations: 122.6 kB / 453.3 MB, free: 1.062 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.005609, allocations: 34.77 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.005653, allocations: 100 kB / 453.4 MB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.00567, allocations: 11.91 kB / 453.4 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.005722, allocations: 38.53 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.12e-05/0.005813, allocations: 322.8 kB / 453.8 MB, free: 0.543 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.944e-05/0.005873, allocations: 50.41 kB / 453.8 MB, free: 500 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.005939, allocations: 94.95 kB / 453.9 MB, free: 384 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.263e-05/0.006022, allocations: 103.6 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.006024, allocations: 1.125 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001483/0.006173, allocations: 169.6 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.00621, allocations: 33.7 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006215, allocations: 0.5938 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.006226, allocations: 9.094 kB / 454.2 MB, free: 24 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.006299, allocations: 15.92 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.006303, allocations: 0 / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.006406, allocations: 32.45 kB / 454.3 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.00642, allocations: 14 kB / 454.3 MB, free: 15.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 7e-05/0.00649, allocations: 117.8 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.289e-05/0.006503, allocations: 9.719 kB / 454.4 MB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.804e-05/0.006531, allocations: 13 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006534, allocations: 7.875 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.006536, allocations: 1.062 kB / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006539, allocations: 0 / 454.5 MB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.006741, allocations: 214.8 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.006743, allocations: 0.6562 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.006778, allocations: 9.344 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.006785, allocations: 11.83 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.006787, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.006795, allocations: 11.92 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006795, allocations: 0.625 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006796, allocations: 1.031 kB / 454.7 MB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.245e-05/0.006889, allocations: 151.5 kB / 454.8 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.006905, allocations: 3.938 kB / 454.9 MB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.765e-05/0.006942, allocations: 4.562 kB / 454.9 MB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.006974, allocations: 13.03 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.006979, allocations: 4 kB / 454.9 MB, free: 15.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.866e-05/0.006998, allocations: 16.84 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006998, allocations: 0.625 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.007146, allocations: 20 kB / 454.9 MB, free: 15.32 MB / 442.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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * 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.0001246/0.007271, allocations: 89.59 kB / 455 MB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.007423, allocations: 154.5 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.007429, allocations: 0.625 kB / 455.1 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.996e-05/0.007459, allocations: 25.47 kB / 455.2 MB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.007614, allocations: 25.14 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.008101, allocations: 169.4 kB / 455.4 MB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.00814, allocations: 67.2 kB / 455.4 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.008169, allocations: 6.406 kB / 455.4 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-05/0.008249, allocations: 67.36 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.00825, allocations: 0.8125 kB / 455.5 MB, free: 14.66 MB / 442.7 MB Notification: Performance of Templates: time 0.0035/0.01175, allocations: 1.695 MB / 457.2 MB, free: 13.09 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.657188835553825]