Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.00188/0.00188, allocations: 88.72 kB / 19.44 MB, free: 356 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.002456/0.002456, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.315/1.315, allocations: 154.6 MB / 414.2 MB, free: 0.625 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.5196 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.403e-05/4.67e-05, allocations: 4.141 kB / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.002264/0.002311, allocations: 0.63 MB / 0.5203 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.004674, allocations: 1.215 MB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.532e-05/0.00474, allocations: 0.6875 kB / 0.5214 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.00478, allocations: 3.938 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.004882, allocations: 13.31 kB / 0.5215 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.005674, allocations: 204.3 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.006029, allocations: 176.5 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.006132, allocations: 11.03 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.006367, allocations: 103.8 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.006527, allocations: 47.91 kB / 0.522 GB, free: 128 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.006572, allocations: 12 kB / 0.522 GB, free: 116 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.806e-05/0.00667, allocations: 24 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.0067, allocations: 15.92 kB / 0.522 GB, free: 76 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.881e-05/0.006799, allocations: 43.95 kB / 0.5221 GB, free: 32 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.007174, allocations: 187.5 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.007177, allocations: 0 / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007178, allocations: 0.5 kB / 0.5222 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.007183, allocations: 1.031 kB / 0.5222 GB, free: 15.85 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.0007098/0.007893, allocations: 361.5 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.007944, allocations: 8.031 kB / 0.5226 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.008042, allocations: 17.44 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.008183, allocations: 106.8 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.008206, allocations: 8.375 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.008241, allocations: 8.375 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.008374, allocations: 51.2 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.008382, allocations: 192 / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.008392, allocations: 1.281 kB / 0.5228 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.0084, allocations: 8.312 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.008449, allocations: 15.94 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.008995, allocations: 269.5 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.042e-05/0.009085, allocations: 30.56 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.009122, allocations: 17.83 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.009133, allocations: 4 kB / 0.5231 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.009354, allocations: 88.55 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.009355, allocations: 0 / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0003246/0.00968, allocations: 105.6 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.009742, allocations: 59.97 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.009894, allocations: 117.8 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.009937, allocations: 35.36 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.01003, allocations: 96.08 kB / 0.5236 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.01005, allocations: 11.91 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01016, allocations: 49.69 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004399/0.0106, allocations: 320 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.01081, allocations: 119.4 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.01103, allocations: 151.6 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.01127, allocations: 162.1 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01127, allocations: 0 / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005945/0.01187, allocations: 349.5 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.01195, allocations: 71.33 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01195, allocations: 1.375 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.01198, allocations: 0 / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.189e-05/0.012, allocations: 4 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.012, allocations: 0.6875 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.01237, allocations: 59.92 kB / 0.5248 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.01241, allocations: 19.97 kB / 0.5249 GB, free: 12.9 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,or1.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 0.0001606/0.01257, allocations: 119.4 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.0126, allocations: 15.89 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.01266, allocations: 12.42 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.01266, allocations: 3.938 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.01267, allocations: 0 / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01267, allocations: 1.812 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.01282, allocations: 125.2 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01283, allocations: 0 / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-06/0.01284, allocations: 0 / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.01284, allocations: 3.938 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.01285, allocations: 1.562 kB / 0.5251 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01286, allocations: 11.92 kB / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01286, allocations: 0 / 0.5251 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.01306, allocations: 109.1 kB / 0.5252 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.01306, allocations: 6.75 kB / 0.5252 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01308, allocations: 3.938 kB / 0.5253 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.493e-05/0.01311, allocations: 8 kB / 0.5253 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.01315, allocations: 7.922 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01316, allocations: 4 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.472e-05/0.01324, allocations: 91.27 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01324, allocations: 0 / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002645/0.0135, allocations: 35.95 kB / 0.5254 GB, free: 12.3 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,or1.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 0.0001824/0.01368, allocations: 97.34 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.01413, allocations: 278.1 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.01413, allocations: 4.938 kB / 0.5258 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/0.01419, allocations: 23.98 kB / 0.5258 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.01445, allocations: 15.61 kB / 0.5258 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.0149, allocations: 165.1 kB / 0.526 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.379e-05/0.01498, allocations: 71.31 kB / 0.526 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.01501, allocations: 7.984 kB / 0.526 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.01504, allocations: 12.5 kB / 0.526 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.01504, allocations: 0 / 0.526 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.0061/0.02114, allocations: 2.046 MB / 0.528 GB, free: 9.637 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.013415551977232]