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.002437/0.002437, 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.002811/0.002811, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.643/1.643, allocations: 177.1 MB / 203.1 MB, free: 5.266 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.364/1.364, allocations: 154.6 MB / 414.2 MB, free: 0.5742 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.565e-06/2.565e-06, allocations: 0 / 0.5196 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.429e-05, allocations: 4.422 kB / 0.5196 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001915/0.001949, allocations: 0.6452 MB / 0.5203 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.003837, allocations: 1.214 MB / 0.5214 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.003881, allocations: 0.6875 kB / 0.5214 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.003907, allocations: 3.938 kB / 0.5215 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.003989, allocations: 12.55 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.00461, allocations: 217.2 kB / 0.5217 GB, free: 404 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.004878, allocations: 169.5 kB / 0.5218 GB, free: 236 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.004972, allocations: 11.97 kB / 0.5218 GB, free: 224 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.005127, allocations: 91.88 kB / 0.5219 GB, free: 132 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.005258, allocations: 47.91 kB / 0.522 GB, free: 84 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.005304, allocations: 17.72 kB / 0.522 GB, free: 68 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.005384, allocations: 31.92 kB / 0.522 GB, free: 36 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/0.005411, allocations: 11.98 kB / 0.522 GB, free: 24 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.005516, allocations: 44.02 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003037/0.00582, allocations: 187.4 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.005824, allocations: 0.75 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005825, allocations: 0 / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.005831, allocations: 1.406 kB / 0.5223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006863/0.006517, allocations: 467.5 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.006558, allocations: 8.031 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.006648, allocations: 16.89 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.006782, allocations: 113.9 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.006804, allocations: 4.375 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.006836, allocations: 8.375 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.006963, allocations: 56.17 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.006971, allocations: 192 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006982, allocations: 384 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.006986, allocations: 384 / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.059e-05/0.007036, allocations: 23.86 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.007619, allocations: 337.7 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.00772, allocations: 39.06 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.007754, allocations: 15.78 kB / 0.5233 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.007769, allocations: 7.984 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001688/0.007937, allocations: 88.91 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.123e-06/0.007939, allocations: 0.5625 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002897/0.008228, allocations: 106.6 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.008281, allocations: 55.41 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.008445, allocations: 185.8 kB / 0.5237 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.008482, allocations: 34.45 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.008601, allocations: 142.8 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.008622, allocations: 17.03 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.008733, allocations: 55.34 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002634/0.008997, allocations: 0.4923 MB / 0.5244 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.009213, allocations: 140.3 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.009458, allocations: 193 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.009709, allocations: 179.3 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.009711, allocations: 1.031 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000805/0.01052, allocations: 364.9 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.01059, allocations: 68.17 kB / 0.5253 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.0106, allocations: 1.594 kB / 0.5253 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01061, allocations: 4 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.34e-05/0.01064, allocations: 3.938 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.01065, allocations: 4.781 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.01094, allocations: 39.17 kB / 0.5254 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.01098, allocations: 19.97 kB / 0.5254 GB, free: 12.25 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.000155/0.01113, allocations: 168.6 kB / 0.5256 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.01116, allocations: 11.89 kB / 0.5256 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.01119, allocations: 8.438 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01119, allocations: 0 / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.0112, allocations: 4 kB / 0.5256 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.0112, allocations: 7.016 kB / 0.5256 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01136, allocations: 132.6 kB / 0.5257 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.01136, allocations: 0 / 0.5257 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.664e-06/0.01136, allocations: 0 / 0.5257 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01137, allocations: 3.938 kB / 0.5257 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.01139, allocations: 7.938 kB / 0.5257 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01139, allocations: 3.938 kB / 0.5257 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01139, allocations: 0 / 0.5257 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.01159, allocations: 129.9 kB / 0.5259 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.01161, allocations: 8 kB / 0.5259 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.01163, allocations: 7.922 kB / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/0.01165, allocations: 0 / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.0117, allocations: 12.48 kB / 0.5259 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.0117, allocations: 2.844 kB / 0.5259 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.799e-05/0.0118, allocations: 135.7 kB / 0.526 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.0118, allocations: 0 / 0.526 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002413/0.01204, allocations: 35.94 kB / 0.5261 GB, free: 11.52 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.0002069/0.01225, allocations: 99.19 kB / 0.5262 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.01274, allocations: 336.2 kB / 0.5265 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.01275, allocations: 4 kB / 0.5265 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.985e-05/0.01281, allocations: 31.67 kB / 0.5265 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.01305, allocations: 16.39 kB / 0.5265 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.01345, allocations: 168.2 kB / 0.5267 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.576e-05/0.01352, allocations: 71.33 kB / 0.5268 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.01355, allocations: 9.016 kB / 0.5268 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.01358, allocations: 12.5 kB / 0.5268 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of SimCode: time 4.8e-07/0.01358, allocations: 1.156 kB / 0.5268 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of Templates: time 0.005635/0.01921, allocations: 2.047 MB / 0.5288 GB, free: 8.766 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.157366291969083]