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.001175/0.001175, 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.001342/0.001342, allocations: 162 kB / 22.43 MB, free: 2.141 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.9056/0.9056, allocations: 177.2 MB / 202.8 MB, free: 5.781 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.7126/0.7126, allocations: 154.9 MB / 414.2 MB, free: 0.5 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.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.001054/0.001054, allocations: 67.89 kB / 0.6186 GB, free: 13.27 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.5157/0.5167, allocations: 102 MB / 0.7182 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001403/0.5181, allocations: 0.6261 MB / 0.7188 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.5195, allocations: 1.22 MB / 0.72 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.889e-05/0.5196, allocations: 1.094 kB / 0.72 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.5196, allocations: 4.641 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.983e-05/0.5197, allocations: 7.906 kB / 0.72 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.5204, allocations: 223.4 kB / 0.7202 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.5207, allocations: 169.2 kB / 0.7204 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.5208, allocations: 9.547 kB / 0.7204 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.521, allocations: 101.6 kB / 0.7205 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.5211, allocations: 60.09 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.5212, allocations: 14.88 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-05/0.5213, allocations: 23.88 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.5213, allocations: 9.438 kB / 0.7206 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.445e-05/0.5214, allocations: 51.48 kB / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.5216, allocations: 185.6 kB / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5216, allocations: 4.75 kB / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5216, allocations: 0 / 0.7208 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5216, allocations: 0 / 0.7208 GB, free: 21.48 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.0004047/0.522, allocations: 358.2 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5221, allocations: 11.77 kB / 0.7212 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.223e-05/0.5221, allocations: 37.25 kB / 0.7212 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.47e-05/0.5222, allocations: 12.55 kB / 0.7212 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.03e-05/0.5222, allocations: 114.5 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.5222, allocations: 5.344 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.5223, allocations: 10.89 kB / 0.7214 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.5224, allocations: 53.34 kB / 0.7214 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5224, allocations: 7.938 kB / 0.7214 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.5224, allocations: 1.719 kB / 0.7214 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.5224, allocations: 0 / 0.7214 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.283e-05/0.5224, allocations: 14.78 kB / 0.7214 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.5228, allocations: 299.1 kB / 0.7217 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.5228, allocations: 34.34 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.096e-05/0.5229, allocations: 18.47 kB / 0.7218 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.5229, allocations: 0.5156 kB / 0.7218 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.523, allocations: 90.47 kB / 0.7219 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.523, allocations: 4 kB / 0.7219 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002139/0.5232, allocations: 104.8 kB / 0.722 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.5233, allocations: 57.52 kB / 0.722 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.5233, allocations: 122 kB / 0.7221 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.5234, allocations: 28.89 kB / 0.7222 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.5234, allocations: 95.41 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.5234, allocations: 22.77 kB / 0.7223 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.5235, allocations: 48.62 kB / 0.7223 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.5235, allocations: 319.6 kB / 0.7226 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.5236, allocations: 120.7 kB / 0.7227 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5237, allocations: 158.5 kB / 0.7229 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5238, allocations: 163.6 kB / 0.7231 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5239, allocations: 0 / 0.7231 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003115/0.5242, allocations: 321.3 kB / 0.7234 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.5242, allocations: 68.34 kB / 0.7234 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5242, allocations: 1 kB / 0.7234 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.5242, allocations: 6.406 kB / 0.7234 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.925e-05/0.5242, allocations: 7.375 kB / 0.7234 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.5242, allocations: 2.625 kB / 0.7234 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5245, allocations: 54.19 kB / 0.7235 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.5245, allocations: 12.55 kB / 0.7235 GB, free: 19.14 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,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 6.422e-05/0.5245, allocations: 129 kB / 0.7236 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-06/0.5246, allocations: 7.047 kB / 0.7236 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.5246, allocations: 14.2 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5246, allocations: 1.938 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5246, allocations: 1.094 kB / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5246, allocations: 0 / 0.7236 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.98e-05/0.5247, allocations: 143.4 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5247, allocations: 0 / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.354e-06/0.5247, allocations: 1.609 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5247, allocations: 1.188 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5247, allocations: 2.297 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5247, allocations: 1.062 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5247, allocations: 4 kB / 0.7238 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.5248, allocations: 122.5 kB / 0.7239 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.5248, allocations: 2.25 kB / 0.7239 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5248, allocations: 2.766 kB / 0.7239 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.5248, allocations: 5.219 kB / 0.7239 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5249, allocations: 10.06 kB / 0.7239 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.5249, allocations: 7.188 kB / 0.7239 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.5249, allocations: 90.23 kB / 0.724 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5249, allocations: 0 / 0.724 GB, free: 18.65 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001688/0.5251, allocations: 35.75 kB / 0.7241 GB, free: 18.64 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,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.0002552/0.5253, allocations: 0.6549 MB / 0.7247 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.5256, allocations: 279.4 kB / 0.725 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5256, allocations: 0 / 0.725 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.792e-05/0.5256, allocations: 25.56 kB / 0.725 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.5258, allocations: 15.62 kB / 0.725 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.5271, allocations: 1.962 MB / 0.7269 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.5272, allocations: 69.08 kB / 0.727 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.5272, allocations: 9.359 kB / 0.727 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.5272, allocations: 21.59 kB / 0.727 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/0.5272, allocations: 0 / 0.727 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.547, allocations: 3.757 MB / 0.7307 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.836/7.383, allocations: 5.656 kB / 0.7307 GB, free: 14.94 MB / 0.6355 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.229065902065486] Failed to read output from testmodel.py, exit status != 0: 7.46134782594163 7.471511451 6.947743692 Calling exit ...