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.002519/0.002519, allocations: 85.48 kB / 19.44 MB, free: 344 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.003126/0.003126, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.631/1.631, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.307/1.307, allocations: 154.6 MB / 414.2 MB, free: 0.6289 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 178] 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.034e-06/2.034e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.401e-05, allocations: 4.031 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002368/0.002402, allocations: 0.7256 MB / 0.5203 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.004392, allocations: 1.172 MB / 0.5215 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.979e-05/0.004452, allocations: 3.938 kB / 0.5215 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.004482, allocations: 3.938 kB / 0.5215 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.004576, allocations: 15.91 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.005149, allocations: 129 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.005396, allocations: 120.7 kB / 0.5217 GB, free: 408 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005512, allocations: 19.95 kB / 0.5218 GB, free: 388 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.005688, allocations: 63.89 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.00581, allocations: 40.78 kB / 0.5219 GB, free: 284 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.005853, allocations: 12 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.005958, allocations: 21.02 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.818e-05/0.005986, allocations: 11.92 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.401e-05/0.00607, allocations: 35.91 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.006341, allocations: 133.1 kB / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006344, allocations: 0 / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006344, allocations: 0 / 0.5221 GB, free: 72 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.00635, allocations: 0 / 0.5221 GB, free: 72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000831/0.007181, allocations: 438.9 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.007227, allocations: 8.031 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.007311, allocations: 16.88 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.007474, allocations: 121.2 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.007496, allocations: 4.375 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.007521, allocations: 5.656 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.007713, allocations: 58.23 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.007724, allocations: 192 / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.007735, allocations: 1.375 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-06/0.00774, allocations: 4.375 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.007904, allocations: 40.44 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.008486, allocations: 312.5 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.00868, allocations: 67.92 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.00878, allocations: 30.23 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.008799, allocations: 7.938 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.009012, allocations: 97.03 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.009013, allocations: 0 / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0004447/0.009458, allocations: 129.6 kB / 0.5234 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.009515, allocations: 56.16 kB / 0.5234 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.009694, allocations: 189.2 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.00974, allocations: 30.98 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.009853, allocations: 138.8 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.009888, allocations: 19.84 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.009993, allocations: 51.88 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.01027, allocations: 0.4884 MB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.01045, allocations: 87.16 kB / 0.5244 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.01068, allocations: 136.1 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.01097, allocations: 161.4 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01097, allocations: 0.75 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005098/0.01148, allocations: 250.5 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.01154, allocations: 33.64 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.01155, allocations: 8.828 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01157, allocations: 0 / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01168, allocations: 9.75 kB / 0.525 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.01169, allocations: 7.938 kB / 0.525 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01187, allocations: 27.97 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.0119, allocations: 4 kB / 0.525 GB, free: 12.81 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.000153/0.01205, allocations: 169.9 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.01208, allocations: 19.88 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.01211, allocations: 8.438 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01212, allocations: 0 / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01212, allocations: 0 / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01212, allocations: 0 / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.01266, allocations: 379.6 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01266, allocations: 0 / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.0127, allocations: 4 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.0127, allocations: 0 / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.01272, allocations: 8 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01272, allocations: 0 / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01272, allocations: 1.344 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01306, allocations: 251.8 kB / 0.5258 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.01308, allocations: 7.953 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.01309, allocations: 0.9062 kB / 0.5258 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.01317, allocations: 11.98 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.01322, allocations: 7.984 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.01323, allocations: 1.156 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.992e-05/0.01333, allocations: 139.2 kB / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 0.526 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002729/0.0136, allocations: 26.97 kB / 0.526 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.0001795/0.01378, allocations: 102.1 kB / 0.5261 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.01421, allocations: 220.7 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01422, allocations: 0 / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.01433, allocations: 47.09 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01463, allocations: 17.62 kB / 0.5263 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.01508, allocations: 174.9 kB / 0.5265 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.01517, allocations: 68.75 kB / 0.5266 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.762e-05/0.0152, allocations: 7.984 kB / 0.5266 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.01524, allocations: 12.5 kB / 0.5266 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/0.01524, allocations: 1.281 kB / 0.5266 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.005556/0.0208, allocations: 1.57 MB / 0.5281 GB, free: 9.543 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: 6.231985609978437]