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.0009786/0.0009786, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001335/0.001335, allocations: 208.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9667/0.9667, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7688/0.7688, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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.0009767/0.0009767, allocations: 70.08 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4743/0.4753, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001335/0.4766, allocations: 0.6397 MB / 0.8184 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.4776, allocations: 1.215 MB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.4776, allocations: 0 / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.4777, allocations: 4.688 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.4777, allocations: 10.08 kB / 0.8196 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.4782, allocations: 225 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4784, allocations: 174.9 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.117e-05/0.4784, allocations: 9.281 kB / 0.82 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.4785, allocations: 69.48 kB / 0.8201 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4786, allocations: 61.59 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.4787, allocations: 15.41 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.078e-05/0.4787, allocations: 22.42 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.4787, allocations: 9 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.4788, allocations: 55.45 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.479, allocations: 149.7 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.479, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.479, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.479, allocations: 0 / 0.8204 GB, free: 15.45 MB / 0.6198 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.0004045/0.4794, allocations: 361.5 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4795, allocations: 9.938 kB / 0.8207 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.4795, allocations: 37.2 kB / 0.8208 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.4795, allocations: 13.59 kB / 0.8208 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.4796, allocations: 117.4 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4796, allocations: 6.453 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4797, allocations: 9.797 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.847e-05/0.4797, allocations: 49.47 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.4798, allocations: 3.938 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4798, allocations: 2.047 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.4798, allocations: 0 / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.4798, allocations: 19.55 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.4802, allocations: 297.9 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.969e-05/0.4802, allocations: 29.91 kB / 0.8213 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.4802, allocations: 21.83 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.4803, allocations: 0 / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.4804, allocations: 80.75 kB / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.52e-07/0.4804, allocations: 0 / 0.8214 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001834/0.4806, allocations: 104.9 kB / 0.8215 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.4806, allocations: 53.33 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.4806, allocations: 125.3 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4807, allocations: 34.89 kB / 0.8217 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.4807, allocations: 98.3 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.4807, allocations: 10.92 kB / 0.8218 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.4808, allocations: 49.16 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/0.4809, allocations: 322.2 kB / 0.8222 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.481, allocations: 121.5 kB / 0.8223 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4811, allocations: 154.1 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.4812, allocations: 164.1 kB / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4812, allocations: 0 / 0.8226 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000285/0.4815, allocations: 320.5 kB / 0.8229 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.4816, allocations: 68 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4816, allocations: 1.375 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4816, allocations: 1.312 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.589e-05/0.4816, allocations: 3.828 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4816, allocations: 2.422 kB / 0.8229 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.4818, allocations: 63.25 kB / 0.823 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.4818, allocations: 16.5 kB / 0.823 GB, free: 13.13 MB / 0.6198 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 6.883e-05/0.4819, allocations: 125.6 kB / 0.8231 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.4819, allocations: 6.828 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.4819, allocations: 9.906 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4819, allocations: 1.406 kB / 0.8232 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4819, allocations: 12 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4819, allocations: 6.984 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.059e-05/0.482, allocations: 146.1 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.482, allocations: 1.312 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-06/0.482, allocations: 1.375 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.482, allocations: 0 / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.482, allocations: 1.5 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.482, allocations: 0 / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.482, allocations: 1.375 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.169e-05/0.4821, allocations: 118.3 kB / 0.8234 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.4821, allocations: 2.469 kB / 0.8234 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.4821, allocations: 5.125 kB / 0.8234 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.42e-05/0.4821, allocations: 8.297 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.4822, allocations: 1.906 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4822, allocations: 5.938 kB / 0.8235 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.4822, allocations: 88.08 kB / 0.8235 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4822, allocations: 3.938 kB / 0.8235 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001628/0.4824, allocations: 38.25 kB / 0.8236 GB, free: 12.62 MB / 0.6198 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.0003016/0.4827, allocations: 0.6487 MB / 0.8242 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.4829, allocations: 280.5 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4829, allocations: 1.188 kB / 0.8245 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.483, allocations: 23.08 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.4831, allocations: 17 kB / 0.8245 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.4846, allocations: 1.966 MB / 0.8264 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.544e-05/0.4846, allocations: 74.69 kB / 0.8265 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.4846, allocations: 8.438 kB / 0.8265 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.4847, allocations: 21.67 kB / 0.8265 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.4847, allocations: 0 / 0.8265 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.5007, allocations: 3.621 MB / 0.8301 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/7.172, allocations: 7.75 kB / 0.8301 GB, free: 8.949 MB / 0.6198 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.107643583789468] Failed to read output from testmodel.py, exit status != 0: 7.248550260905176 7.260618699 6.779307056 Calling exit ...