Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001187/0.001187, allocations: 80.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.001405/0.001405, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.899/0.899, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.737/0.737, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_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.0009802/0.0009802, allocations: 79.38 kB / 0.6199 GB, free: 11.68 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4808/0.4818, allocations: 102 MB / 0.7194 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001796/0.4836, allocations: 0.6346 MB / 0.7201 GB, free: 12.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.4851, allocations: 1.215 MB / 0.7213 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.292e-05/0.4851, allocations: 0 / 0.7213 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.4852, allocations: 3.938 kB / 0.7213 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.364e-05/0.4853, allocations: 11.92 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.486, allocations: 214.2 kB / 0.7215 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.4862, allocations: 175.7 kB / 0.7216 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4863, allocations: 15.94 kB / 0.7217 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.4865, allocations: 95.86 kB / 0.7217 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.4866, allocations: 51.8 kB / 0.7218 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.176e-05/0.4866, allocations: 16 kB / 0.7218 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.557e-05/0.4867, allocations: 27.98 kB / 0.7218 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.4868, allocations: 11.97 kB / 0.7219 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.4868, allocations: 51.91 kB / 0.7219 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.4871, allocations: 187.5 kB / 0.7221 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4871, allocations: 0 / 0.7221 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4871, allocations: 0 / 0.7221 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.4871, allocations: 7.875 kB / 0.7221 GB, free: 10.63 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.0005126/0.4876, allocations: 365.5 kB / 0.7224 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4877, allocations: 9.469 kB / 0.7224 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.4877, allocations: 12.89 kB / 0.7225 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.562e-05/0.4878, allocations: 118.5 kB / 0.7226 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.4878, allocations: 8.375 kB / 0.7226 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.4879, allocations: 8.375 kB / 0.7226 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.488, allocations: 42.25 kB / 0.7226 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.488, allocations: 192 / 0.7226 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.488, allocations: 7.938 kB / 0.7226 GB, free: 9.996 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.488, allocations: 7.969 kB / 0.7226 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.488, allocations: 19.94 kB / 0.7227 GB, free: 9.969 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.4884, allocations: 272.5 kB / 0.7229 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.417e-05/0.4885, allocations: 34.56 kB / 0.723 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.4885, allocations: 16.8 kB / 0.723 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.4885, allocations: 0 / 0.723 GB, free: 9.609 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4887, allocations: 79.41 kB / 0.723 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.4887, allocations: 0 / 0.723 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002296/0.4889, allocations: 109.6 kB / 0.7232 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.4889, allocations: 55.39 kB / 0.7232 GB, free: 9.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.489, allocations: 117.8 kB / 0.7233 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.489, allocations: 33.7 kB / 0.7233 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.4891, allocations: 96.03 kB / 0.7234 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.4891, allocations: 19.89 kB / 0.7235 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.4892, allocations: 45.69 kB / 0.7235 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/0.4892, allocations: 318.8 kB / 0.7238 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.4894, allocations: 119.4 kB / 0.7239 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.4895, allocations: 156 kB / 0.7241 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.4896, allocations: 163.6 kB / 0.7242 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4896, allocations: 3.938 kB / 0.7242 GB, free: 8.188 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003004/0.4899, allocations: 324.3 kB / 0.7245 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.49, allocations: 68.8 kB / 0.7246 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.49, allocations: 4 kB / 0.7246 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.49, allocations: 0 / 0.7246 GB, free: 7.758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.273e-05/0.49, allocations: 7.984 kB / 0.7246 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.49, allocations: 3.938 kB / 0.7246 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.4902, allocations: 63.95 kB / 0.7247 GB, free: 7.684 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.4902, allocations: 8 kB / 0.7247 GB, free: 7.676 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.906e-05/0.4903, allocations: 129.6 kB / 0.7248 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-06/0.4903, allocations: 7.953 kB / 0.7248 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.4903, allocations: 12.44 kB / 0.7248 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4904, allocations: 0 / 0.7248 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4904, allocations: 0 / 0.7248 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.4904, allocations: 4 kB / 0.7248 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.4904, allocations: 7.984 kB / 0.7248 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.4904, allocations: 0 / 0.7248 GB, free: 7.512 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.4904, allocations: 11.94 kB / 0.7249 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001093/0.4905, allocations: 152.9 kB / 0.725 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001297/0.4907, allocations: 259.9 kB / 0.7252 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.49e-05/0.4907, allocations: 16.45 kB / 0.7253 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.573e-05/0.4907, allocations: 91.22 kB / 0.7253 GB, free: 6.969 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.4907, allocations: 4 kB / 0.7254 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005054/0.4912, allocations: 340.5 kB / 0.7257 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005365/0.4918, allocations: 0.6055 MB / 0.7263 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of Templates: time 0.003603/0.4954, allocations: 2.128 MB / 0.7283 GB, free: 3.863 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.12527063395828] Failed to read output from testmodel.py, exit status != 0: 0.5020390748977661 0.509492301 0.02072393 Calling exit ...