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.001346/0.001346, allocations: 76.45 kB / 19.9 MB, free: 24 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.001068/0.001068, allocations: 173.9 kB / 23.19 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.9346/0.9346, 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.7472/0.7472, allocations: 154.7 MB / 414.7 MB, free: 0.7305 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.0009077/0.0009077, allocations: 71.91 kB / 0.6195 GB, free: 13.12 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.5535/0.5544, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001486/0.5559, allocations: 0.633 MB / 0.7197 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.557, allocations: 1.213 MB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.969e-05/0.557, allocations: 0 / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.5571, allocations: 5.219 kB / 0.7209 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.5571, allocations: 15.83 kB / 0.7209 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.5576, allocations: 216.4 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.5578, allocations: 178 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.5579, allocations: 12.17 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.558, allocations: 93.08 kB / 0.7214 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.5582, allocations: 52.53 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.5582, allocations: 15.19 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.5583, allocations: 32.59 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.5583, allocations: 8.062 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.5583, allocations: 56.11 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.5586, allocations: 151.2 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5586, allocations: 0 / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5586, allocations: 5.531 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5586, allocations: 0 / 0.7217 GB, free: 22.02 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.0004038/0.559, allocations: 357.2 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.559, allocations: 10.84 kB / 0.7221 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.5591, allocations: 11.89 kB / 0.7221 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.5591, allocations: 114.4 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.5591, allocations: 5.688 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.5592, allocations: 14.89 kB / 0.7222 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.682e-05/0.5593, allocations: 54.66 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.5593, allocations: 192 / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5593, allocations: 4.5 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5593, allocations: 4 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.5593, allocations: 13.64 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.5597, allocations: 271.4 kB / 0.7225 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.363e-05/0.5597, allocations: 37.12 kB / 0.7226 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.5598, allocations: 19.23 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.5598, allocations: 1.031 kB / 0.7226 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.5599, allocations: 82.84 kB / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.5599, allocations: 0 / 0.7227 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000214/0.5601, allocations: 108.1 kB / 0.7228 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.5602, allocations: 58.23 kB / 0.7228 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.5602, allocations: 115.7 kB / 0.7229 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.5602, allocations: 35.11 kB / 0.723 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.5603, allocations: 93.8 kB / 0.7231 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.5603, allocations: 16.75 kB / 0.7231 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.5603, allocations: 47.5 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.5604, allocations: 318.8 kB / 0.7234 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5605, allocations: 120.9 kB / 0.7235 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.5606, allocations: 150.8 kB / 0.7237 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.5607, allocations: 172.4 kB / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5607, allocations: 0 / 0.7239 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002912/0.561, allocations: 320.7 kB / 0.7242 GB, free: 19.85 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.5611, allocations: 72.53 kB / 0.7242 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.5611, allocations: 6.453 kB / 0.7242 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.5611, allocations: 1.469 kB / 0.7242 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.5611, allocations: 3.672 kB / 0.7242 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5611, allocations: 5.5 kB / 0.7242 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.5613, allocations: 55.98 kB / 0.7243 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.5613, allocations: 14.89 kB / 0.7243 GB, free: 19.76 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,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 5.761e-05/0.5614, allocations: 125.4 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.5614, allocations: 7.453 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.5614, allocations: 10.69 kB / 0.7245 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5614, allocations: 5.125 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.5614, allocations: 5.016 kB / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5614, allocations: 0 / 0.7245 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.619e-05/0.5615, allocations: 116.4 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5615, allocations: 1.031 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-06/0.5615, allocations: 6.25 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5615, allocations: 1.125 kB / 0.7246 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.5615, allocations: 5.969 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.5615, allocations: 0 / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.5615, allocations: 1.25 kB / 0.7246 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.972e-05/0.5616, allocations: 117.5 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.5616, allocations: 8.391 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.5616, allocations: 1.125 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.5616, allocations: 0.9688 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.5617, allocations: 10.34 kB / 0.7247 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.5617, allocations: 6.906 kB / 0.7247 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.321e-05/0.5617, allocations: 98.73 kB / 0.7248 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5617, allocations: 1.25 kB / 0.7248 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001573/0.5619, allocations: 26.84 kB / 0.7248 GB, free: 19.3 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,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 9.497e-05/0.562, allocations: 103.7 kB / 0.7249 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5622, allocations: 279.6 kB / 0.7252 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5622, allocations: 1.125 kB / 0.7252 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.223e-05/0.5622, allocations: 20.89 kB / 0.7252 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.5624, allocations: 19.94 kB / 0.7253 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.5626, allocations: 155.3 kB / 0.7254 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.5627, allocations: 73.77 kB / 0.7255 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.5627, allocations: 9.578 kB / 0.7255 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.671e-05/0.5627, allocations: 15.81 kB / 0.7255 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of SimCode: time 3.31e-07/0.5627, allocations: 0 / 0.7255 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.003711/0.5664, allocations: 2.061 MB / 0.7275 GB, free: 18.49 MB / 0.6355 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.47350604494568] Failed to read output from testmodel.py, exit status != 0: 0.5716345679247752 0.579765102 0.019435668 Calling exit ...