Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.001222/0.001222, allocations: 80.81 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.001254/0.001254, 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.087/1.087, allocations: 177.1 MB / 203.8 MB, free: 5.453 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.8914/0.8914, allocations: 154.9 MB / 415.1 MB, free: 192 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.831e-05, allocations: 2.312 kB / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002268/0.002296, allocations: 0.6246 MB / 481 MB, free: 5.902 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.004013, allocations: 1.172 MB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/0.004058, allocations: 0 / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.00409, allocations: 3.984 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.004178, allocations: 10.39 kB / 482.2 MB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.004634, allocations: 121.1 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.004812, allocations: 88.45 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.004896, allocations: 4 kB / 482.4 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.005003, allocations: 48.72 kB / 482.4 MB, free: 4.469 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.005105, allocations: 29.89 kB / 482.5 MB, free: 4.441 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.005128, allocations: 4.531 kB / 482.5 MB, free: 4.438 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.005215, allocations: 20.48 kB / 482.5 MB, free: 4.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.005236, allocations: 13.16 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.00528, allocations: 26.27 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.005433, allocations: 73.7 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.005437, allocations: 0 / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.005438, allocations: 1.219 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.005441, allocations: 0 / 482.6 MB, free: 4.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000362/0.005803, allocations: 273.7 kB / 482.9 MB, free: 4.016 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005844, allocations: 13.22 kB / 482.9 MB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.005884, allocations: 9.688 kB / 482.9 MB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.465e-05/0.005978, allocations: 109.8 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.005995, allocations: 4.375 kB / 483 MB, free: 3.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.006011, allocations: 9.344 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.619e-05/0.006097, allocations: 59.95 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006106, allocations: 2.156 kB / 483.1 MB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.006113, allocations: 4.375 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.006118, allocations: 1.359 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.307e-05/0.006131, allocations: 9.016 kB / 483.1 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.006363, allocations: 152.3 kB / 483.2 MB, free: 3.605 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.006403, allocations: 23.95 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.969e-06/0.006413, allocations: 4.859 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.006419, allocations: 1.406 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.00653, allocations: 85.98 kB / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.006532, allocations: 0 / 483.4 MB, free: 3.465 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001299/0.006662, allocations: 57.55 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006699, allocations: 53.22 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.006778, allocations: 114.7 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.006799, allocations: 29.7 kB / 483.6 MB, free: 3.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.006843, allocations: 84.88 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.006854, allocations: 4 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.006916, allocations: 30.56 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.007018, allocations: 315.6 kB / 484 MB, free: 2.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.109e-05/0.007079, allocations: 46.75 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.932e-05/0.007148, allocations: 72.25 kB / 484.1 MB, free: 2.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.007231, allocations: 73.56 kB / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007233, allocations: 0.5938 kB / 484.2 MB, free: 2.516 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/0.007404, allocations: 141.7 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.007444, allocations: 42.28 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007449, allocations: 1.312 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.007463, allocations: 4.5 kB / 484.4 MB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.007481, allocations: 4.562 kB / 484.4 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.217e-06/0.007484, allocations: 0 / 484.4 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.007625, allocations: 22.64 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.007646, allocations: 8.516 kB / 484.4 MB, free: 2.277 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 7.463e-05/0.00772, allocations: 119.5 kB / 484.6 MB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.007732, allocations: 7.938 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.007754, allocations: 4 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.007757, allocations: 3.938 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.007759, allocations: 0.9062 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.007762, allocations: 0 / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.007847, allocations: 86.12 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.007851, allocations: 5.875 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.983e-06/0.007858, allocations: 0 / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.00786, allocations: 0 / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.007865, allocations: 0 / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.007868, allocations: 4 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.007869, allocations: 2.344 kB / 484.7 MB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.815e-05/0.007957, allocations: 73.05 kB / 484.7 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.007965, allocations: 0 / 484.7 MB, free: 1.938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.007976, allocations: 4 kB / 484.7 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.558e-05/0.007992, allocations: 0 / 484.7 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.008015, allocations: 9.891 kB / 484.7 MB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.00802, allocations: 5.625 kB / 484.8 MB, free: 1.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.513e-05/0.008035, allocations: 8.859 kB / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008035, allocations: 0 / 484.8 MB, free: 1.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.008231, allocations: 16 kB / 484.8 MB, free: 1.895 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000123/0.008354, allocations: 86.22 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.008522, allocations: 125.9 kB / 485 MB, free: 1.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.008525, allocations: 0 / 485 MB, free: 1.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.008549, allocations: 21.53 kB / 485 MB, free: 1.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.008672, allocations: 9.141 kB / 485 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.008918, allocations: 109.4 kB / 485.1 MB, free: 1.496 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.758e-05/0.008955, allocations: 60.14 kB / 485.2 MB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.09e-05/0.008976, allocations: 3.984 kB / 485.2 MB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.009069, allocations: 64.48 kB / 485.2 MB, free: 1.352 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.00907, allocations: 0 / 485.2 MB, free: 1.352 MB / 442.7 MB Notification: Performance of Templates: time 0.003678/0.01275, allocations: 1.295 MB / 486.5 MB, free: 148 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7824983350001276]