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.0007355/0.0007355, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007719/0.0007719, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8589/0.8589, allocations: 177.2 MB / 203.6 MB, free: 5.77 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.6804/0.6804, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: 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.001454/0.001454, allocations: 74 kB / 0.6196 GB, free: 13.11 MB / 0.5886 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.4496/0.451, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001304/0.4523, allocations: 0.6289 MB / 0.7197 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.4534, allocations: 1.211 MB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.4534, allocations: 5.469 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.4535, allocations: 4.547 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.09e-05/0.4535, allocations: 10.58 kB / 0.7209 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.454, allocations: 215 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.4542, allocations: 176.9 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.4543, allocations: 14.25 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4544, allocations: 100.7 kB / 0.7214 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.4545, allocations: 56.2 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.4545, allocations: 14.66 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.126e-05/0.4546, allocations: 28.03 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.4546, allocations: 9.312 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.4547, allocations: 56.27 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.4549, allocations: 180.9 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4549, allocations: 1.188 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4549, allocations: 3.938 kB / 0.7217 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.4549, allocations: 0 / 0.7217 GB, free: 21.99 MB / 0.6355 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.0003713/0.4553, allocations: 362.4 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4553, allocations: 12.69 kB / 0.7221 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.4554, allocations: 12.52 kB / 0.7221 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.39e-05/0.4554, allocations: 115.3 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4554, allocations: 9.812 kB / 0.7222 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.4554, allocations: 14.03 kB / 0.7223 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.813e-05/0.4555, allocations: 49.33 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4555, allocations: 1.281 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4556, allocations: 8.734 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4556, allocations: 1.156 kB / 0.7223 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.201e-05/0.4556, allocations: 14.27 kB / 0.7223 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002971/0.4559, allocations: 269.4 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.972e-05/0.4559, allocations: 37.95 kB / 0.7226 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.456, allocations: 20.08 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.456, allocations: 3.938 kB / 0.7226 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.4561, allocations: 78.81 kB / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4561, allocations: 0 / 0.7227 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002049/0.4563, allocations: 108.1 kB / 0.7228 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.4563, allocations: 55.02 kB / 0.7229 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.4564, allocations: 115.4 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.4564, allocations: 29.8 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.4564, allocations: 98.61 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.4564, allocations: 19.62 kB / 0.7231 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.4565, allocations: 48.34 kB / 0.7232 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.055e-05/0.4565, allocations: 320 kB / 0.7235 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4566, allocations: 116.2 kB / 0.7236 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.4568, allocations: 163.8 kB / 0.7237 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4569, allocations: 163 kB / 0.7239 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4569, allocations: 4 kB / 0.7239 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002805/0.4571, allocations: 321.7 kB / 0.7242 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.4572, allocations: 67.67 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4572, allocations: 0.9062 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4572, allocations: 2.219 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.4572, allocations: 7.094 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4572, allocations: 1.938 kB / 0.7243 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.4574, allocations: 60.16 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.4574, allocations: 12.02 kB / 0.7243 GB, free: 19.73 MB / 0.6355 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 5.525e-05/0.4575, allocations: 131.7 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.4575, allocations: 7.875 kB / 0.7245 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.4575, allocations: 10.41 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4575, allocations: 1.125 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4575, allocations: 1.125 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4575, allocations: 0.8438 kB / 0.7245 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.839e-05/0.4576, allocations: 124.1 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4576, allocations: 0.6094 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-06/0.4576, allocations: 1.953 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.4576, allocations: 1.219 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4576, allocations: 2.328 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4576, allocations: 0 / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.4576, allocations: 3.938 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.446e-05/0.4577, allocations: 127.3 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-06/0.4577, allocations: 2.953 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.4577, allocations: 1.75 kB / 0.7247 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.4577, allocations: 5.484 kB / 0.7248 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.4578, allocations: 10.14 kB / 0.7248 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.4578, allocations: 3.234 kB / 0.7248 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.4578, allocations: 93.8 kB / 0.7249 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4578, allocations: 0 / 0.7249 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001596/0.458, allocations: 31.69 kB / 0.7249 GB, free: 19.27 MB / 0.6355 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 9.755e-05/0.4581, allocations: 101.4 kB / 0.725 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.4583, allocations: 276.3 kB / 0.7252 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4583, allocations: 256 / 0.7252 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.4583, allocations: 33.48 kB / 0.7253 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4585, allocations: 15.5 kB / 0.7253 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.4588, allocations: 187 kB / 0.7255 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.682e-05/0.4588, allocations: 73.38 kB / 0.7255 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.4588, allocations: 12.56 kB / 0.7256 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.4588, allocations: 0 / 0.7256 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.002406/0.4612, allocations: 1.413 MB / 0.7269 GB, free: 18.54 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.208463723072782] Failed to read output from testmodel.py, exit status != 0: 0.46744757192209363 0.47426399300000005 0.017670821 Calling exit ...