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.001067/0.001067, allocations: 84.44 kB / 19.91 MB, free: 4 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.001118/0.001118, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.9136/0.9136, allocations: 177.2 MB / 203.6 MB, free: 5.785 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-531:686: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-531:694: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.705/0.705, allocations: 154.7 MB / 414.7 MB, free: 0.7812 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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009675/0.0009675, allocations: 71.02 kB / 0.6196 GB, free: 12.03 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4975, allocations: 102 MB / 0.7191 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001371/0.4988, allocations: 0.6192 MB / 0.7197 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.5001, allocations: 1.218 MB / 0.7209 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.5002, allocations: 0 / 0.7209 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.5002, allocations: 3.938 kB / 0.7209 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.5003, allocations: 15.88 kB / 0.7209 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.5008, allocations: 222.3 kB / 0.7212 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.5011, allocations: 175.7 kB / 0.7213 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.5013, allocations: 15.92 kB / 0.7213 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.5014, allocations: 91.92 kB / 0.7214 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.5015, allocations: 55.78 kB / 0.7215 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.5015, allocations: 16 kB / 0.7215 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.5015, allocations: 31.94 kB / 0.7215 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.5016, allocations: 7.984 kB / 0.7215 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.5016, allocations: 59.83 kB / 0.7216 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.5018, allocations: 183.5 kB / 0.7218 GB, free: 11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5018, allocations: 0 / 0.7218 GB, free: 11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5018, allocations: 0 / 0.7218 GB, free: 11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5018, allocations: 3.938 kB / 0.7218 GB, free: 11 MB / 0.6042 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.0004336/0.5023, allocations: 357.6 kB / 0.7221 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5023, allocations: 12.02 kB / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.5024, allocations: 12.89 kB / 0.7221 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.241e-05/0.5024, allocations: 114.5 kB / 0.7222 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5025, allocations: 8.375 kB / 0.7223 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.5025, allocations: 12.38 kB / 0.7223 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.5026, allocations: 54.17 kB / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5026, allocations: 192 / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5026, allocations: 3.938 kB / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.5026, allocations: 0 / 0.7223 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.086e-05/0.5026, allocations: 12 kB / 0.7223 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.503, allocations: 268.5 kB / 0.7226 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.46e-05/0.503, allocations: 38.5 kB / 0.7226 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.5031, allocations: 16.8 kB / 0.7226 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.5031, allocations: 0 / 0.7226 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.5032, allocations: 91.38 kB / 0.7227 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 7.51e-07/0.5032, allocations: 0 / 0.7227 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002201/0.5034, allocations: 105.6 kB / 0.7228 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5034, allocations: 59.41 kB / 0.7229 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.5035, allocations: 113.8 kB / 0.723 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.5035, allocations: 29.7 kB / 0.723 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.5036, allocations: 96.08 kB / 0.7231 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.5036, allocations: 19.89 kB / 0.7231 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.5037, allocations: 45.69 kB / 0.7232 GB, free: 9.383 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.729e-05/0.5038, allocations: 318.8 kB / 0.7235 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5039, allocations: 123.4 kB / 0.7236 GB, free: 8.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.504, allocations: 156 kB / 0.7238 GB, free: 8.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.5041, allocations: 155.7 kB / 0.7239 GB, free: 8.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5041, allocations: 11.94 kB / 0.7239 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002921/0.5044, allocations: 320.3 kB / 0.7242 GB, free: 8.215 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.5045, allocations: 71.52 kB / 0.7243 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.5045, allocations: 4 kB / 0.7243 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5045, allocations: 3.938 kB / 0.7243 GB, free: 8.125 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-05/0.5045, allocations: 4 kB / 0.7243 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5045, allocations: 0 / 0.7243 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.5047, allocations: 59.83 kB / 0.7244 GB, free: 8.062 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.5047, allocations: 11.98 kB / 0.7244 GB, free: 8.051 MB / 0.6042 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 7.516e-05/0.5048, allocations: 130.8 kB / 0.7245 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.5048, allocations: 3.953 kB / 0.7245 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.5048, allocations: 12.44 kB / 0.7245 GB, free: 7.898 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5048, allocations: 3.984 kB / 0.7245 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5048, allocations: 0 / 0.7245 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.5048, allocations: 0 / 0.7245 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5048, allocations: 7.938 kB / 0.7245 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.5049, allocations: 0 / 0.7245 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.5049, allocations: 15.92 kB / 0.7245 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.591e-05/0.505, allocations: 149 kB / 0.7247 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001175/0.5051, allocations: 256 kB / 0.7249 GB, free: 7.453 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.049e-05/0.5051, allocations: 27.92 kB / 0.7249 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.5052, allocations: 95.2 kB / 0.725 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of Backend: time 2.81e-07/0.5052, allocations: 3.938 kB / 0.725 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.5056, allocations: 332.5 kB / 0.7254 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004435/0.5061, allocations: 0.6088 MB / 0.7259 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of Templates: time 0.003081/0.5091, allocations: 2.126 MB / 0.728 GB, free: 4.238 MB / 0.6042 GB " [Timeout remaining time 659] 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: 4.08906954806298] Failed to read output from testmodel.py, exit status != 0: 0.514782790094614 0.523647041 0.01935643 Calling exit ...