Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0009642/0.0009642, 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.0009711/0.0009711, 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.906/0.906, allocations: 177.2 MB / 202.8 MB, free: 5.777 MB / 186.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.6922/0.6922, allocations: 154.7 MB / 413.9 MB, free: 0.7305 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant",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.0009118/0.0009118, allocations: 63.22 kB / 0.6183 GB, free: 13.6 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.4493/0.4502, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001237/0.4514, allocations: 0.5464 MB / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.11e-05/0.4514, allocations: 5.875 kB / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.4515, allocations: 0 / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.4515, allocations: 0 / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.392e-05/0.4515, allocations: 0 / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 2.813e-05/0.4516, allocations: 1.031 kB / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.958e-05/0.4516, allocations: 1.094 kB / 0.7184 GB, free: 23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.4517, allocations: 6.859 kB / 0.7184 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 2.818e-05/0.4517, allocations: 8.594 kB / 0.7184 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.722e-05/0.4517, allocations: 5.438 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4517, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.4517, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.4517, allocations: 1.281 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.4517, allocations: 4.734 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.561e-05/0.4518, allocations: 2.828 kB / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4518, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4518, allocations: 0 / 0.7185 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4518, allocations: 1.375 kB / 0.7185 GB, free: 22.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001866/0.452, allocations: 243.8 kB / 0.7187 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.452, allocations: 9.219 kB / 0.7187 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.94e-05/0.4521, allocations: 35.45 kB / 0.7187 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.716e-05/0.4521, allocations: 6.094 kB / 0.7187 GB, free: 22.67 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.55e-05/0.4521, allocations: 104.7 kB / 0.7188 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.4521, allocations: 4.312 kB / 0.7188 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.4521, allocations: 1.5 kB / 0.7188 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.847e-05/0.4522, allocations: 29.86 kB / 0.7189 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.4522, allocations: 3.938 kB / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.182e-06/0.4522, allocations: 0 / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4522, allocations: 1 kB / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.297e-05/0.4522, allocations: 1.156 kB / 0.7189 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.4524, allocations: 358.8 kB / 0.7192 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.506e-05/0.4525, allocations: 174.9 kB / 0.7194 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.151e-05/0.4525, allocations: 81.52 kB / 0.7195 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.4525, allocations: 75.28 kB / 0.7195 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.4525, allocations: 108.3 kB / 0.7196 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.4525, allocations: 0 / 0.7196 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 4.567e-05/0.4525, allocations: 30.83 kB / 0.7197 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.4526, allocations: 128.5 kB / 0.7198 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.4526, allocations: 98.75 kB / 0.7199 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-06/0.4526, allocations: 29.83 kB / 0.7199 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.062e-05/0.4526, allocations: 86.12 kB / 0.72 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.4526, allocations: 0 / 0.72 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4526, allocations: 11.22 kB / 0.72 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.679e-05/0.4527, allocations: 317.5 kB / 0.7203 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-06/0.4527, allocations: 0 / 0.7203 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-06/0.4527, allocations: 0 / 0.7203 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.346e-06/0.4527, allocations: 76.5 kB / 0.7204 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.4527, allocations: 79.88 kB / 0.7205 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 2.551e-05/0.4527, allocations: 32.77 kB / 0.7205 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4527, allocations: 83.61 kB / 0.7206 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4527, allocations: 84.44 kB / 0.7207 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4527, allocations: 152.6 kB / 0.7208 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.763e-06/0.4528, allocations: 81.3 kB / 0.7209 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.4528, allocations: 152.5 kB / 0.721 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.4528, allocations: 80.62 kB / 0.7211 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4528, allocations: 81.19 kB / 0.7212 GB, free: 20.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 3.755e-05/0.4528, allocations: 263.4 kB / 0.7214 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.4529, allocations: 107 kB / 0.7215 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.66e-05/0.4529, allocations: 118.6 kB / 0.7216 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4529, allocations: 184.8 kB / 0.7218 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/0.4529, allocations: 185.5 kB / 0.722 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4529, allocations: 179 kB / 0.7222 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.115e-05/0.453, allocations: 376.9 kB / 0.7225 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.453, allocations: 107 kB / 0.7226 GB, free: 18.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.453, allocations: 101.6 kB / 0.7227 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.787e-05/0.453, allocations: 186.3 kB / 0.7229 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.453, allocations: 179.2 kB / 0.7231 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.405e-05/0.4531, allocations: 185.8 kB / 0.7233 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.4531, allocations: 178.4 kB / 0.7234 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.53e-05/0.4531, allocations: 307.5 kB / 0.7237 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.4531, allocations: 114.9 kB / 0.7238 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.4531, allocations: 186.6 kB / 0.724 GB, free: 17.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.877e-05/0.4532, allocations: 103 kB / 0.7241 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.4532, allocations: 182.7 kB / 0.7243 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.4532, allocations: 106.7 kB / 0.7244 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.681e-05/0.4532, allocations: 78.23 kB / 0.7245 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4532, allocations: 0 / 0.7245 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001493/0.4534, allocations: 1.5 kB / 0.7245 GB, free: 16.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001492/0.4535, allocations: 0.8026 MB / 0.7252 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.188e-05/0.4536, allocations: 12.97 kB / 0.7252 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4536, allocations: 1.25 kB / 0.7253 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.4536, allocations: 0 / 0.7253 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4537, allocations: 455.4 kB / 0.7257 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.4542, allocations: 1.528 MB / 0.7272 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.309e-05/0.4542, allocations: 56.19 kB / 0.7272 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.133e-06/0.4542, allocations: 0.6562 kB / 0.7272 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.034e-05/0.4542, allocations: 8.5 kB / 0.7272 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4542, allocations: 0.9688 kB / 0.7272 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.4687, allocations: 1.531 MB / 0.7287 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.437/6.906, allocations: 5.141 kB / 0.7287 GB, free: 12.79 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.640529274009168] Failed to read output from testmodel.py, exit status != 0: 6.9845288440119475 6.994694297 6.541089443 Calling exit ...