Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008344/0.0008344, 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.000752/0.000752, 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.932/0.932, allocations: 177.2 MB / 202.8 MB, free: 5.793 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.7491/0.7491, allocations: 154.9 MB / 414.2 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_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.001251/0.001251, allocations: 69.67 kB / 0.6186 GB, free: 13.16 MB / 0.5886 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.5039/0.5051, allocations: 102 MB / 0.7182 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.00153/0.5067, allocations: 0.6306 MB / 0.7188 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.5079, allocations: 1.212 MB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.508, allocations: 1.312 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.508, allocations: 4.609 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.5081, allocations: 11.53 kB / 0.72 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006291/0.5087, allocations: 217 kB / 0.7202 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.509, allocations: 173.2 kB / 0.7204 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.5091, allocations: 9.062 kB / 0.7204 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.5092, allocations: 101.5 kB / 0.7205 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.5094, allocations: 52.23 kB / 0.7206 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.5094, allocations: 19.14 kB / 0.7206 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.757e-05/0.5095, allocations: 31.44 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.073e-05/0.5095, allocations: 9.062 kB / 0.7206 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.5096, allocations: 53.06 kB / 0.7207 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.5099, allocations: 185 kB / 0.7208 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5099, allocations: 0 / 0.7208 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.915e-06/0.5099, allocations: 1.219 kB / 0.7208 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.5099, allocations: 0 / 0.7208 GB, free: 21.57 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.0004375/0.5103, allocations: 358.1 kB / 0.7212 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5104, allocations: 15.59 kB / 0.7212 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.268e-05/0.5104, allocations: 37.05 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5104, allocations: 12.59 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.583e-05/0.5105, allocations: 118.5 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.5105, allocations: 5.281 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.5105, allocations: 10.69 kB / 0.7214 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.5107, allocations: 53.61 kB / 0.7214 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5107, allocations: 3.938 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.5107, allocations: 1.062 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5107, allocations: 1.734 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.5107, allocations: 17.61 kB / 0.7215 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.5111, allocations: 297.9 kB / 0.7217 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.863e-05/0.5111, allocations: 35.02 kB / 0.7218 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.5112, allocations: 14.5 kB / 0.7218 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.5112, allocations: 1.922 kB / 0.7218 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.5113, allocations: 85.45 kB / 0.7219 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.5113, allocations: 0 / 0.7219 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002406/0.5116, allocations: 108.9 kB / 0.722 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5116, allocations: 54.42 kB / 0.722 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.5117, allocations: 116.1 kB / 0.7221 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.5117, allocations: 37.36 kB / 0.7222 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.5117, allocations: 95.58 kB / 0.7223 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.5118, allocations: 18.67 kB / 0.7223 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.5118, allocations: 52.8 kB / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.5119, allocations: 323.4 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.512, allocations: 120.7 kB / 0.7228 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.5121, allocations: 155.1 kB / 0.7229 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.5122, allocations: 159 kB / 0.7231 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5122, allocations: 4 kB / 0.7231 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003297/0.5126, allocations: 321.3 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.5126, allocations: 72.17 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5126, allocations: 1.219 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5126, allocations: 3.406 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.209e-05/0.5127, allocations: 1.938 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.5127, allocations: 1.625 kB / 0.7234 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.5129, allocations: 56.47 kB / 0.7235 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5129, allocations: 16.11 kB / 0.7235 GB, free: 19.23 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 7.847e-05/0.513, allocations: 128.3 kB / 0.7236 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/0.513, allocations: 8.172 kB / 0.7236 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.5131, allocations: 10.92 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.5131, allocations: 1.188 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5131, allocations: 0 / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5131, allocations: 1.312 kB / 0.7236 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.398e-05/0.5132, allocations: 146.3 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.5132, allocations: 1.031 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.216e-06/0.5132, allocations: 1.797 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5132, allocations: 1.094 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.5132, allocations: 1.719 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.5132, allocations: 0 / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5132, allocations: 2.016 kB / 0.7238 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.5133, allocations: 122.5 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.5133, allocations: 1.281 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.5134, allocations: 2.484 kB / 0.7239 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.5134, allocations: 9.766 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.5134, allocations: 6.297 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5134, allocations: 7.219 kB / 0.7239 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.5135, allocations: 89.16 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5135, allocations: 1 kB / 0.724 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001691/0.5136, allocations: 35.14 kB / 0.7241 GB, free: 18.73 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 0.0002351/0.5139, allocations: 0.651 MB / 0.7247 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.5141, allocations: 276 kB / 0.725 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5141, allocations: 4.531 kB / 0.725 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.5141, allocations: 28.56 kB / 0.725 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.5143, allocations: 16.53 kB / 0.725 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5156, allocations: 1.957 MB / 0.7269 GB, free: 16.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.29e-05/0.5156, allocations: 70.06 kB / 0.727 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.5156, allocations: 13.39 kB / 0.727 GB, free: 16.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.5157, allocations: 24.72 kB / 0.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/0.5157, allocations: 1.062 kB / 0.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.5328, allocations: 3.756 MB / 0.7307 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/7.156, allocations: 6.781 kB / 0.7307 GB, free: 15.02 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.03180199896451] Failed to read output from testmodel.py, exit status != 0: 7.2354082660749555 7.244750867 6.732848836 Calling exit ...