Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001108/0.001108, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001328/0.001328, allocations: 223.2 kB / 22.26 MB, free: 3.707 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.809 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.7909/0.7909, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",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.001019/0.001019, allocations: 71.16 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4693, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001448/0.4708, allocations: 0.6483 MB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4718, allocations: 1.235 MB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.4718, allocations: 0 / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.4719, allocations: 3.938 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.4719, allocations: 11.56 kB / 0.8197 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.4724, allocations: 220.4 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.4726, allocations: 174.2 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.4727, allocations: 7.047 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.064e-05/0.4728, allocations: 66.22 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.4729, allocations: 61.97 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.473, allocations: 17.88 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.473, allocations: 31.27 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.4731, allocations: 15.28 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.4731, allocations: 57.39 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.4733, allocations: 148.5 kB / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4733, allocations: 0 / 0.8205 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4733, allocations: 4 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4734, allocations: 1.5 kB / 0.8205 GB, free: 15.61 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.0004174/0.4738, allocations: 361.5 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.4738, allocations: 10.05 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.588e-05/0.4738, allocations: 32.41 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.4739, allocations: 13.45 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.474, allocations: 115.4 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.474, allocations: 9.656 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.474, allocations: 13.36 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.4741, allocations: 54.02 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4741, allocations: 3.938 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.4741, allocations: 0.7969 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4741, allocations: 7.656 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.4742, allocations: 12.28 kB / 0.8211 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.4746, allocations: 324.5 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.516e-05/0.4746, allocations: 34.95 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.4747, allocations: 22.36 kB / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.4747, allocations: 0 / 0.8215 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.4748, allocations: 81.31 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.4748, allocations: 0 / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001973/0.475, allocations: 108.3 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.475, allocations: 53.27 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.4751, allocations: 118.7 kB / 0.8218 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4751, allocations: 37.2 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.4752, allocations: 88.97 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.4752, allocations: 20.14 kB / 0.8219 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.4753, allocations: 48.39 kB / 0.822 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.4753, allocations: 322.6 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.732e-05/0.4754, allocations: 59.86 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4755, allocations: 94.86 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4757, allocations: 157.3 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4757, allocations: 0 / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003003/0.476, allocations: 265.7 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.476, allocations: 68 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.476, allocations: 5.688 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.476, allocations: 4.406 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.476, allocations: 0.8438 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4761, allocations: 1.344 kB / 0.8229 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4763, allocations: 60.95 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4763, allocations: 15.02 kB / 0.823 GB, free: 13.47 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,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 8.252e-05/0.4764, allocations: 127 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-06/0.4764, allocations: 6.453 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.4764, allocations: 10.69 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4764, allocations: 1.219 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4764, allocations: 1.031 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.4764, allocations: 4.969 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.603e-05/0.4765, allocations: 148.5 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4765, allocations: 3.938 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-06/0.4765, allocations: 6.906 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4765, allocations: 64 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4765, allocations: 11.5 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4765, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4765, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.4766, allocations: 115.9 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.4766, allocations: 7.438 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.4766, allocations: 0 / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.4767, allocations: 4 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.4767, allocations: 5.688 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4767, allocations: 6.734 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.4767, allocations: 97.64 kB / 0.8235 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4767, allocations: 0 / 0.8235 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001628/0.4769, allocations: 34.06 kB / 0.8236 GB, free: 12.96 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,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 0.0003349/0.4772, allocations: 0.6443 MB / 0.8242 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.4775, allocations: 220.4 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4775, allocations: 1.438 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.4775, allocations: 25.95 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.4777, allocations: 10.7 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.4792, allocations: 1.717 MB / 0.8261 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.4796, allocations: 0.6902 MB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.4796, allocations: 9.578 kB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.4797, allocations: 21.19 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.4797, allocations: 0 / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.4973, allocations: 3.023 MB / 0.8298 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.579/7.076, allocations: 4.531 kB / 0.8298 GB, free: 9.488 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or_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_Or.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.11678943107836] Failed to read output from testmodel.py, exit status != 0: 7.153610787121579 7.167696227 6.691801558 Calling exit ...