Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009729/0.0009729, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001017/0.001017, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9798/0.9798, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7462/0.7462, allocations: 154.6 MB / 415.6 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.5215 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.313e-05, allocations: 4.219 kB / 0.5215 GB, free: 1.922 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002218/0.002251, allocations: 0.72 MB / 0.5222 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.00423, allocations: 1.202 MB / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.004289, allocations: 0 / 0.5234 GB, free: 8 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.519e-05/0.004325, allocations: 7.922 kB / 0.5234 GB, free: 0 / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.004431, allocations: 14.69 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.004949, allocations: 127.6 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.00514, allocations: 123.7 kB / 0.5237 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.005244, allocations: 15.91 kB / 0.5237 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.005384, allocations: 64.42 kB / 0.5238 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.005485, allocations: 43.86 kB / 0.5238 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.005513, allocations: 8.5 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.19e-05/0.005585, allocations: 24.97 kB / 0.5238 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.005613, allocations: 11.92 kB / 0.5238 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.005666, allocations: 31.97 kB / 0.5239 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.005845, allocations: 97.31 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.00585, allocations: 3.984 kB / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005851, allocations: 0 / 0.524 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.005854, allocations: 0 / 0.524 GB, free: 15.45 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.0005267/0.006381, allocations: 431.1 kB / 0.5244 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.00642, allocations: 8.031 kB / 0.5244 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.006474, allocations: 14.3 kB / 0.5244 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.006572, allocations: 124.5 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.006592, allocations: 8.312 kB / 0.5245 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.006614, allocations: 12.36 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.006759, allocations: 64.09 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006767, allocations: 192 / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.006774, allocations: 384 / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.00678, allocations: 1.062 kB / 0.5246 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.502e-05/0.006815, allocations: 11.92 kB / 0.5246 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.007222, allocations: 297.5 kB / 0.5249 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007332, allocations: 47.17 kB / 0.5249 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.007362, allocations: 16.83 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.00737, allocations: 4 kB / 0.525 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001191/0.007489, allocations: 77.7 kB / 0.525 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.154e-06/0.007492, allocations: 9.812 kB / 0.525 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002181/0.00771, allocations: 89.56 kB / 0.5251 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.007751, allocations: 59.39 kB / 0.5252 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.796e-05/0.007849, allocations: 173.9 kB / 0.5254 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.007874, allocations: 29.7 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.007943, allocations: 144.4 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.007966, allocations: 19.89 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-05/0.008044, allocations: 43.34 kB / 0.5256 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.008183, allocations: 0.4884 MB / 0.5261 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.295e-05/0.008266, allocations: 63.14 kB / 0.5261 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.008363, allocations: 100 kB / 0.5262 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.008491, allocations: 113.6 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008493, allocations: 0 / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003004/0.008794, allocations: 206 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.008831, allocations: 33.7 kB / 0.5266 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.00884, allocations: 8.438 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.008851, allocations: 0.5 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.008943, allocations: 14.14 kB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.008948, allocations: 4 kB / 0.5266 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.009079, allocations: 19.98 kB / 0.5266 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.0091, allocations: 7.984 kB / 0.5266 GB, free: 12.48 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 0.0001103/0.009211, allocations: 174.9 kB / 0.5268 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.194e-05/0.009233, allocations: 11.95 kB / 0.5268 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.009261, allocations: 8.375 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009265, allocations: 4 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.009268, allocations: 3.984 kB / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.009272, allocations: 0 / 0.5268 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.00959, allocations: 312.1 kB / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.009593, allocations: 0 / 0.5271 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.009645, allocations: 7.938 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.00965, allocations: 3.938 kB / 0.5271 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.009662, allocations: 11.98 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.009664, allocations: 1.031 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.009666, allocations: 0 / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.01016, allocations: 223.9 kB / 0.5273 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.01017, allocations: 4.938 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.01019, allocations: 3.938 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.01027, allocations: 4 kB / 0.5273 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.01031, allocations: 11.23 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.01032, allocations: 4 kB / 0.5274 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.776e-05/0.01038, allocations: 137.2 kB / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.01038, allocations: 0 / 0.5275 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002656/0.01065, allocations: 20 kB / 0.5275 GB, free: 11.49 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.0001608/0.01081, allocations: 110.3 kB / 0.5276 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.01105, allocations: 163.5 kB / 0.5278 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01105, allocations: 3.938 kB / 0.5278 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-05/0.0111, allocations: 32.12 kB / 0.5278 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01141, allocations: 12.14 kB / 0.5278 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.01179, allocations: 180.1 kB / 0.528 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.207e-05/0.01183, allocations: 55.36 kB / 0.528 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.01187, allocations: 9.266 kB / 0.528 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.01198, allocations: 90.19 kB / 0.5281 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/0.01198, allocations: 0 / 0.5281 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of Templates: time 0.00508/0.01706, allocations: 1.746 MB / 0.5298 GB, free: 9.137 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7112208190374076]