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.0007706/0.0007706, allocations: 80.45 kB / 19.15 MB, free: 0.7734 MB / 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.0007562/0.0007562, allocations: 162 kB / 22.43 MB, free: 2.145 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.8518/0.8518, allocations: 177.2 MB / 202.8 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.698/0.698, allocations: 154.7 MB / 413.9 MB, free: 0.7461 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [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.0008061/0.0008061, allocations: 71.61 kB / 0.6183 GB, free: 12.56 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.4667/0.4675, allocations: 102 MB / 0.7179 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.00129/0.4688, allocations: 0.6308 MB / 0.7185 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.4699, allocations: 1.219 MB / 0.7197 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.4699, allocations: 0 / 0.7197 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.4699, allocations: 3.938 kB / 0.7197 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.87e-05/0.47, allocations: 15.86 kB / 0.7197 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004755/0.4705, allocations: 221.9 kB / 0.7199 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.4707, allocations: 183.7 kB / 0.7201 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.4708, allocations: 3.984 kB / 0.7201 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.4709, allocations: 91.94 kB / 0.7202 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.98e-05/0.471, allocations: 59.78 kB / 0.7202 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.471, allocations: 12 kB / 0.7203 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.932e-05/0.471, allocations: 27.94 kB / 0.7203 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.4711, allocations: 15.97 kB / 0.7203 GB, free: 11.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.4711, allocations: 47.91 kB / 0.7203 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.4713, allocations: 187.5 kB / 0.7205 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4713, allocations: 0 / 0.7205 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4713, allocations: 4 kB / 0.7205 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4713, allocations: 4 kB / 0.7205 GB, free: 11.09 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.0004091/0.4717, allocations: 357.5 kB / 0.7209 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4718, allocations: 8.031 kB / 0.7209 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.425e-05/0.4718, allocations: 34.75 kB / 0.7209 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.4718, allocations: 12.89 kB / 0.7209 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.636e-05/0.4719, allocations: 114.5 kB / 0.721 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4719, allocations: 8.375 kB / 0.721 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.4719, allocations: 12.38 kB / 0.7211 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.472, allocations: 50.17 kB / 0.7211 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.4721, allocations: 3.938 kB / 0.7211 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4721, allocations: 4 kB / 0.7211 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4721, allocations: 4 kB / 0.7211 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.25e-05/0.4721, allocations: 15.98 kB / 0.7211 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.4725, allocations: 291.9 kB / 0.7214 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.4725, allocations: 34.52 kB / 0.7214 GB, free: 10.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.4725, allocations: 16.94 kB / 0.7215 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.4726, allocations: 0 / 0.7215 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.4727, allocations: 79.31 kB / 0.7215 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4727, allocations: 3.938 kB / 0.7215 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002077/0.4729, allocations: 117.5 kB / 0.7216 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.473, allocations: 55.41 kB / 0.7217 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.473, allocations: 117.8 kB / 0.7218 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4731, allocations: 29.7 kB / 0.7218 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.4731, allocations: 92.09 kB / 0.7219 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.4731, allocations: 19.84 kB / 0.7219 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.4732, allocations: 49.67 kB / 0.722 GB, free: 9.398 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.4733, allocations: 322.8 kB / 0.7223 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4734, allocations: 115.4 kB / 0.7224 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.4735, allocations: 155.7 kB / 0.7226 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.4736, allocations: 167.5 kB / 0.7227 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.4736, allocations: 4 kB / 0.7227 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002993/0.4739, allocations: 316.3 kB / 0.723 GB, free: 8.234 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.474, allocations: 69.73 kB / 0.7231 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.474, allocations: 4.469 kB / 0.7231 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.474, allocations: 0 / 0.7231 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.816e-05/0.474, allocations: 8.125 kB / 0.7231 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.474, allocations: 0 / 0.7231 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.4742, allocations: 63.86 kB / 0.7232 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4742, allocations: 11.94 kB / 0.7232 GB, free: 8.07 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,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 7.62e-05/0.4743, allocations: 130.8 kB / 0.7233 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.4743, allocations: 3.953 kB / 0.7233 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.4744, allocations: 16.38 kB / 0.7233 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4744, allocations: 4 kB / 0.7233 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4744, allocations: 0 / 0.7233 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4744, allocations: 0 / 0.7233 GB, free: 7.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.819e-05/0.4745, allocations: 148.7 kB / 0.7235 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.4745, allocations: 0 / 0.7235 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-06/0.4745, allocations: 4 kB / 0.7235 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4745, allocations: 0 / 0.7235 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.4745, allocations: 0 / 0.7235 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4745, allocations: 0 / 0.7235 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4745, allocations: 0 / 0.7235 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.4746, allocations: 118.1 kB / 0.7236 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-06/0.4746, allocations: 8 kB / 0.7236 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.4746, allocations: 4 kB / 0.7236 GB, free: 7.574 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.4746, allocations: 7.984 kB / 0.7236 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.4746, allocations: 3.938 kB / 0.7236 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.4747, allocations: 4 kB / 0.7236 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.232e-05/0.4747, allocations: 91.27 kB / 0.7237 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.4747, allocations: 0 / 0.7237 GB, free: 7.469 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001522/0.4748, allocations: 35.94 kB / 0.7237 GB, free: 7.434 MB / 0.6042 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 0.0005778/0.4754, allocations: 0.6475 MB / 0.7244 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.4757, allocations: 286.1 kB / 0.7246 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4757, allocations: 0 / 0.7246 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.96e-05/0.4757, allocations: 19.94 kB / 0.7247 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.4759, allocations: 20.39 kB / 0.7247 GB, free: 6.402 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4773, allocations: 1.965 MB / 0.7266 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.4773, allocations: 75.58 kB / 0.7267 GB, free: 4.168 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.4773, allocations: 7.781 kB / 0.7267 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.4774, allocations: 16.5 kB / 0.7267 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.4774, allocations: 0 / 0.7267 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.4963, allocations: 3.754 MB / 0.7304 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/7.085, allocations: 3.375 kB / 0.7304 GB, free: 0.5703 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.724296745029278] Failed to read output from testmodel.py, exit status != 0: 7.161459896015003 7.170257401 6.697053211 Calling exit ...