Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.001261/0.001261, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009493/0.0009493, allocations: 169 kB / 23.28 MB, free: 1.219 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.8989/0.8989, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7276/0.7276, allocations: 154.6 MB / 414.8 MB, free: 0.5352 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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5208 GB, free: 1.773 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.217e-05, allocations: 3.984 kB / 0.5208 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001016/0.001028, allocations: 0.6439 MB / 0.5214 GB, free: 1.145 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.002038, allocations: 1.234 MB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.002074, allocations: 0 / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.002096, allocations: 3.938 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.002156, allocations: 21.95 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.002527, allocations: 203.5 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.002666, allocations: 176.5 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.707e-05/0.002733, allocations: 4.719 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.603e-05/0.002829, allocations: 95.86 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.002913, allocations: 56.34 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.002935, allocations: 12.78 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.208e-05/0.002987, allocations: 31.92 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.003004, allocations: 13.42 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.003045, allocations: 43.95 kB / 0.5232 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.003176, allocations: 139.6 kB / 0.5234 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003177, allocations: 3.938 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.4e-07/0.003178, allocations: 0.7812 kB / 0.5234 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.555e-06/0.00318, allocations: 0 / 0.5234 GB, free: 15.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003179/0.003498, allocations: 464.7 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.003529, allocations: 12.03 kB / 0.5238 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.003566, allocations: 16.02 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.922e-05/0.003625, allocations: 112.6 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.003637, allocations: 4.375 kB / 0.524 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.003656, allocations: 16.36 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.746e-05/0.003714, allocations: 38.25 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.00372, allocations: 192 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.003725, allocations: 384 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.00373, allocations: 384 / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.669e-05/0.003747, allocations: 19.86 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.003991, allocations: 304.8 kB / 0.5243 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.477e-05/0.004036, allocations: 39.92 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.383e-05/0.004049, allocations: 11.78 kB / 0.5244 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.004056, allocations: 8.641 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.454e-05/0.004131, allocations: 81.92 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.11e-07/0.004132, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001298/0.004262, allocations: 89.56 kB / 0.5245 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.004286, allocations: 56.38 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.004352, allocations: 185.8 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.00437, allocations: 30.73 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.004416, allocations: 138.9 kB / 0.5249 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.004426, allocations: 11.91 kB / 0.5249 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.004481, allocations: 56.55 kB / 0.525 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.004577, allocations: 0.4923 MB / 0.5255 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.00468, allocations: 103.4 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.004761, allocations: 149.5 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.319e-05/0.004854, allocations: 155.4 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.004857, allocations: 4 kB / 0.5259 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002245/0.005081, allocations: 305.4 kB / 0.5262 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.005114, allocations: 72.14 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005118, allocations: 4 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.005128, allocations: 1.25 kB / 0.5262 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.35e-05/0.005141, allocations: 7.938 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005144, allocations: 320 / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.005284, allocations: 42.33 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.005301, allocations: 15.98 kB / 0.5263 GB, free: 11.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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 6.348e-05/0.005365, allocations: 166.1 kB / 0.5265 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.005373, allocations: 7.953 kB / 0.5265 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.0054, allocations: 13.84 kB / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.005401, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005403, allocations: 0 / 0.5265 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005406, allocations: 4 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.45e-05/0.00547, allocations: 112 kB / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.005471, allocations: 0 / 0.5266 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-06/0.005476, allocations: 7.922 kB / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005477, allocations: 0 / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.005481, allocations: 4 kB / 0.5266 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.005482, allocations: 3.938 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.005484, allocations: 3.938 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.663e-05/0.00557, allocations: 118.5 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.005576, allocations: 3.953 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.005583, allocations: 4 kB / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.005594, allocations: 0 / 0.5267 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.005616, allocations: 11.92 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.005621, allocations: 7.984 kB / 0.5267 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.005655, allocations: 136.4 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005655, allocations: 4 kB / 0.5269 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001434/0.005798, allocations: 28.78 kB / 0.5269 GB, free: 11.13 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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 8.847e-05/0.005887, allocations: 101.5 kB / 0.527 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.006066, allocations: 261.8 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.006067, allocations: 0 / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.00609, allocations: 27.67 kB / 0.5273 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.00623, allocations: 28.78 kB / 0.5273 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001913/0.006421, allocations: 166 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.426e-05/0.006445, allocations: 55.36 kB / 0.5275 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.651e-05/0.006462, allocations: 7.984 kB / 0.5275 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/0.006556, allocations: 102.2 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.006556, allocations: 4 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.003205/0.009762, allocations: 2.214 MB / 0.5298 GB, free: 8.223 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3349086800590158]