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.001072/0.001072, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00111/0.00111, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9919/0.9919, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.8321/0.8321, allocations: 154.8 MB / 415.1 MB, free: 0.5 MB / 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.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 4.107e-06/4.107e-06, allocations: 0 / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.871e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002263/0.002302, allocations: 0.7357 MB / 0.5213 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003976, allocations: 1.199 MB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.033e-05/0.004036, allocations: 0.6562 kB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.004068, allocations: 4.906 kB / 0.5225 GB, free: 356 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.004153, allocations: 11.88 kB / 0.5225 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.004705, allocations: 128.5 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.00492, allocations: 124.5 kB / 0.5227 GB, free: 92 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.005045, allocations: 11.98 kB / 0.5227 GB, free: 80 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.005186, allocations: 64.91 kB / 0.5228 GB, free: 16 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.005303, allocations: 39.83 kB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.093e-05/0.005334, allocations: 9.75 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/0.005413, allocations: 35.91 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/0.005445, allocations: 7.938 kB / 0.5229 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.005802, allocations: 31.97 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.006019, allocations: 99.67 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.006022, allocations: 0.5625 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.006025, allocations: 0 / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.00603, allocations: 1.031 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB 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.0006073/0.006637, allocations: 430.2 kB / 0.5234 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.006689, allocations: 9.25 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.006771, allocations: 16.88 kB / 0.5234 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.006886, allocations: 119.2 kB / 0.5236 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.00691, allocations: 9 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.006936, allocations: 8.375 kB / 0.5236 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.007111, allocations: 64.56 kB / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.007121, allocations: 192 / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.007132, allocations: 384 / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.007142, allocations: 384 / 0.5236 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.007195, allocations: 17.05 kB / 0.5237 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.007652, allocations: 315.6 kB / 0.524 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.007759, allocations: 51.86 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.007788, allocations: 20.92 kB / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.007795, allocations: 0 / 0.524 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.007945, allocations: 85.03 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.007946, allocations: 0.7188 kB / 0.5241 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002987/0.008245, allocations: 89.62 kB / 0.5242 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.008326, allocations: 60.02 kB / 0.5243 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.008482, allocations: 174.9 kB / 0.5244 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.008524, allocations: 33.7 kB / 0.5245 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.008628, allocations: 146.9 kB / 0.5246 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.008663, allocations: 20.34 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.008754, allocations: 35.95 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.008933, allocations: 0.4961 MB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.009024, allocations: 62.42 kB / 0.5252 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.009114, allocations: 108.1 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.009299, allocations: 123.2 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.009302, allocations: 0 / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002622/0.009564, allocations: 208.9 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.009596, allocations: 34.58 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.009604, allocations: 4 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.009617, allocations: 0.5 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.009707, allocations: 15.98 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.009714, allocations: 4.5 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.009806, allocations: 24.98 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.00982, allocations: 9.578 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB 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 8.451e-05/0.009905, allocations: 174.6 kB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.00992, allocations: 15.89 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.009945, allocations: 6.188 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.009949, allocations: 11.92 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.009953, allocations: 0 / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.009957, allocations: 0 / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.01024, allocations: 341.3 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01025, allocations: 1.5 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-05/0.01028, allocations: 7.984 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01028, allocations: 0 / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.01029, allocations: 2.75 kB / 0.5262 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01029, allocations: 4 kB / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01029, allocations: 0 / 0.5262 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.01043, allocations: 231.8 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.01044, allocations: 11.89 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01046, allocations: 4 kB / 0.5265 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.0105, allocations: 11.92 kB / 0.5265 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.592e-05/0.01054, allocations: 3.984 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01054, allocations: 6.156 kB / 0.5265 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.01059, allocations: 131.2 kB / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01059, allocations: 0 / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001809/0.01077, allocations: 27.98 kB / 0.5266 GB, free: 11.73 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: 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.0001522/0.01092, allocations: 98.45 kB / 0.5267 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.01112, allocations: 165.4 kB / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01112, allocations: 0 / 0.5269 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.01116, allocations: 24.33 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.01137, allocations: 27.86 kB / 0.527 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.01168, allocations: 166.8 kB / 0.5271 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01172, allocations: 63.34 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.01174, allocations: 4 kB / 0.5272 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.01177, allocations: 12.5 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of SimCode: time 9.22e-07/0.01177, allocations: 3.031 kB / 0.5272 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.003507/0.01527, allocations: 1.573 MB / 0.5287 GB, free: 9.629 MB / 0.4948 GB " [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.8040300419088453]