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.0008115/0.0008115, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001477/0.001477, allocations: 209.2 kB / 22.24 MB, free: 3.715 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.8102/0.8102, allocations: 203.5 MB / 0.5039 GB, free: 10.71 MB / 410.7 MB " [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.Or,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_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.0009419/0.0009419, allocations: 71.14 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5452/0.5461, allocations: 102 MB / 0.8174 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001383/0.5475, allocations: 0.6325 MB / 0.818 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.5486, allocations: 1.204 MB / 0.8192 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.5486, allocations: 2.812 kB / 0.8192 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.5486, allocations: 4.5 kB / 0.8192 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.5487, allocations: 20.66 kB / 0.8192 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.5492, allocations: 215.8 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.5494, allocations: 172.9 kB / 0.8196 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.632e-05/0.5494, allocations: 4.953 kB / 0.8196 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.5495, allocations: 71.25 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.5496, allocations: 60.77 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.5497, allocations: 15.38 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.152e-05/0.5497, allocations: 25.84 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.5497, allocations: 9.078 kB / 0.8198 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.374e-05/0.5498, allocations: 61.73 kB / 0.8198 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.55, allocations: 149.4 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.55, allocations: 0 / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.033e-06/0.55, allocations: 3.938 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.55, allocations: 0 / 0.82 GB, free: 15.49 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.000379/0.5504, allocations: 358.4 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5504, allocations: 11.31 kB / 0.8203 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.483e-05/0.5504, allocations: 32.02 kB / 0.8203 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.5505, allocations: 12.09 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.5505, allocations: 118 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5506, allocations: 5.594 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.5506, allocations: 15.58 kB / 0.8205 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.037e-05/0.5507, allocations: 45.19 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.5507, allocations: 3.938 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.5507, allocations: 0.75 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5507, allocations: 1.594 kB / 0.8205 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.297e-05/0.5507, allocations: 24.52 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.5511, allocations: 295.2 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.708e-05/0.5512, allocations: 33.48 kB / 0.8209 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.5512, allocations: 20.73 kB / 0.8209 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.5512, allocations: 0 / 0.8209 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5514, allocations: 82.03 kB / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.5514, allocations: 0 / 0.821 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0001901/0.5516, allocations: 112.5 kB / 0.8211 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.5516, allocations: 55.3 kB / 0.8211 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.5517, allocations: 120.9 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.5517, allocations: 31.67 kB / 0.8213 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.5518, allocations: 94.7 kB / 0.8214 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.5518, allocations: 15.03 kB / 0.8214 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.35e-05/0.5518, allocations: 54.05 kB / 0.8214 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.78e-05/0.5519, allocations: 316.7 kB / 0.8217 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.5521, allocations: 119.7 kB / 0.8219 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.5522, allocations: 163.6 kB / 0.822 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.5523, allocations: 154.9 kB / 0.8222 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5523, allocations: 0 / 0.8222 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000327/0.5527, allocations: 325.4 kB / 0.8225 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.5527, allocations: 67.39 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5527, allocations: 2.234 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5527, allocations: 1.25 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.236e-05/0.5528, allocations: 8.016 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.5528, allocations: 5.938 kB / 0.8225 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.553, allocations: 61.11 kB / 0.8226 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.553, allocations: 14.83 kB / 0.8226 GB, free: 13.16 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.185e-05/0.5531, allocations: 126.2 kB / 0.8227 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.5531, allocations: 6.656 kB / 0.8227 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.5531, allocations: 10.56 kB / 0.8228 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5531, allocations: 1.594 kB / 0.8228 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5531, allocations: 0 / 0.8228 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5531, allocations: 0.6562 kB / 0.8228 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.871e-05/0.5532, allocations: 149.7 kB / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5532, allocations: 0 / 0.8229 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.5532, allocations: 8.547 kB / 0.8229 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5532, allocations: 4.594 kB / 0.8229 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5532, allocations: 4.516 kB / 0.8229 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5532, allocations: 3.938 kB / 0.8229 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5532, allocations: 0.6094 kB / 0.8229 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.5534, allocations: 111.8 kB / 0.823 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-06/0.5534, allocations: 3.734 kB / 0.823 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5534, allocations: 4.609 kB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.5534, allocations: 4.328 kB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.154e-05/0.5534, allocations: 3 kB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.5534, allocations: 5.75 kB / 0.823 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.471e-05/0.5535, allocations: 91.12 kB / 0.8231 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5535, allocations: 3.25 kB / 0.8231 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001649/0.5536, allocations: 35.14 kB / 0.8232 GB, free: 12.66 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.0003309/0.554, allocations: 0.6506 MB / 0.8238 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.5542, allocations: 279 kB / 0.8241 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5542, allocations: 0 / 0.8241 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.374e-05/0.5543, allocations: 25.12 kB / 0.8241 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.5544, allocations: 19.75 kB / 0.8241 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.556, allocations: 1.956 MB / 0.826 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.556, allocations: 70.86 kB / 0.8261 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.5561, allocations: 9.578 kB / 0.8261 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.5561, allocations: 16.25 kB / 0.8261 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 2.9e-07/0.5561, allocations: 4 kB / 0.8261 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.5779, allocations: 3.644 MB / 0.8297 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/7.204, allocations: 3.938 kB / 0.8297 GB, free: 8.977 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Logical_Validation_Or.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.340058851987123] Failed to read output from testmodel.py, exit status != 0: 7.281438711099327 7.300625299 6.747441059 Calling exit ...