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.001679/0.001679, allocations: 92.7 kB / 19.44 MB, free: 324 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.002119/0.002119, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.23/1.23, allocations: 154.8 MB / 414.4 MB, free: 464 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 178] 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.835e-06/2.835e-06, allocations: 0 / 0.5198 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.533e-05/3.816e-05, allocations: 5.5 kB / 0.5198 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002327/0.002365, allocations: 0.5717 MB / 0.5204 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.004648, allocations: 1.135 MB / 0.5215 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.004696, allocations: 0 / 0.5215 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.166e-05/0.004737, allocations: 0 / 0.5215 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.169e-05/0.004829, allocations: 12.95 kB / 0.5215 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.005462, allocations: 116.6 kB / 0.5216 GB, free: 364 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.005687, allocations: 91.83 kB / 0.5217 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.005785, allocations: 5.609 kB / 0.5217 GB, free: 268 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.005934, allocations: 55.89 kB / 0.5218 GB, free: 212 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.006044, allocations: 19.97 kB / 0.5218 GB, free: 192 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.006076, allocations: 8 kB / 0.5218 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.00616, allocations: 24.73 kB / 0.5218 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.006183, allocations: 4 kB / 0.5218 GB, free: 156 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.59e-05/0.006259, allocations: 25.22 kB / 0.5218 GB, free: 132 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.0065, allocations: 95.83 kB / 0.5219 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.006505, allocations: 0 / 0.5219 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006506, allocations: 0 / 0.5219 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.006511, allocations: 1.344 kB / 0.5219 GB, free: 36 kB / 490.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.0006561/0.007168, allocations: 303.9 kB / 0.5222 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.007214, allocations: 8.031 kB / 0.5222 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.007293, allocations: 9.719 kB / 0.5222 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.00745, allocations: 113.7 kB / 0.5223 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.007476, allocations: 5.906 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.007503, allocations: 4.375 kB / 0.5224 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.007676, allocations: 67.95 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007687, allocations: 192 / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007698, allocations: 2.75 kB / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.007702, allocations: 384 / 0.5224 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.439e-05/0.007736, allocations: 7.938 kB / 0.5224 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.008236, allocations: 216.6 kB / 0.5226 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.008307, allocations: 22.52 kB / 0.5227 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.008337, allocations: 12.84 kB / 0.5227 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.008352, allocations: 4.562 kB / 0.5227 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002837/0.008635, allocations: 86.53 kB / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.008637, allocations: 0 / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003092/0.008946, allocations: 69.73 kB / 0.5228 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.009011, allocations: 55.41 kB / 0.5229 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.009154, allocations: 106.8 kB / 0.523 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.00919, allocations: 25.7 kB / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.009286, allocations: 89.11 kB / 0.5231 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.009303, allocations: 3.953 kB / 0.5231 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.009395, allocations: 29.7 kB / 0.5231 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002206/0.009616, allocations: 319.8 kB / 0.5234 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.009756, allocations: 57.69 kB / 0.5235 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.009924, allocations: 89.17 kB / 0.5236 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.0101, allocations: 80.91 kB / 0.5236 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0101, allocations: 0 / 0.5236 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004366/0.01053, allocations: 182.2 kB / 0.5238 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.0106, allocations: 44.3 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.01061, allocations: 0.625 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/0.01064, allocations: 3.984 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.297e-05/0.01066, allocations: 5.812 kB / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01067, allocations: 0 / 0.5239 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.01094, allocations: 27.91 kB / 0.5239 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.01097, allocations: 6.031 kB / 0.5239 GB, free: 13.79 MB / 0.4948 GB 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 0.0001531/0.01112, allocations: 125.8 kB / 0.524 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.01114, allocations: 3.984 kB / 0.524 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.01117, allocations: 11.94 kB / 0.524 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01117, allocations: 1.5 kB / 0.524 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.01118, allocations: 4 kB / 0.524 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.01119, allocations: 0 / 0.524 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.01135, allocations: 109.3 kB / 0.5241 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01135, allocations: 2.469 kB / 0.5242 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/0.01136, allocations: 4 kB / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.01136, allocations: 0 / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.01137, allocations: 0 / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.01138, allocations: 3.938 kB / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01138, allocations: 0 / 0.5242 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.01155, allocations: 85.06 kB / 0.5242 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.01156, allocations: 10.69 kB / 0.5243 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01158, allocations: 0 / 0.5243 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/0.01161, allocations: 7.938 kB / 0.5243 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.01165, allocations: 0 / 0.5243 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.01166, allocations: 4 kB / 0.5243 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.961e-05/0.01174, allocations: 83.27 kB / 0.5243 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01174, allocations: 0 / 0.5243 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000328/0.01207, allocations: 21.19 kB / 0.5244 GB, free: 13.27 MB / 0.4948 GB 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.0002222/0.01229, allocations: 99.19 kB / 0.5245 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01261, allocations: 134.1 kB / 0.5246 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01261, allocations: 7.938 kB / 0.5246 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.01265, allocations: 9.812 kB / 0.5246 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.01296, allocations: 7.984 kB / 0.5246 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.01343, allocations: 128.6 kB / 0.5247 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.01353, allocations: 67.72 kB / 0.5248 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.963e-05/0.01356, allocations: 4.656 kB / 0.5248 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.01359, allocations: 9.156 kB / 0.5248 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/0.01359, allocations: 0 / 0.5248 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.00572/0.01931, allocations: 1.182 MB / 0.526 GB, free: 11.62 MB / 0.4948 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8010049749864265]