Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.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.0008283/0.0008283, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0008066/0.0008066, allocations: 162.3 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.8668/0.8668, allocations: 177.2 MB / 202.8 MB, free: 5.766 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.6962/0.6962, allocations: 154.7 MB / 413.9 MB, free: 0.7383 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.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Average",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.001091/0.001091, allocations: 59.91 kB / 0.6184 GB, free: 13.55 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.4332/0.4342, allocations: 102 MB / 0.7179 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Average): time 0.001553/0.4358, allocations: 0.6764 MB / 0.7186 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008724/0.4367, allocations: 0.8335 MB / 0.7194 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.4367, allocations: 0 / 0.7194 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.4367, allocations: 5.406 kB / 0.7194 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.313e-05/0.4368, allocations: 9.812 kB / 0.7194 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.696e-05/0.4369, allocations: 9.469 kB / 0.7194 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.437, allocations: 43.5 kB / 0.7195 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4372, allocations: 13.98 kB / 0.7195 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.4373, allocations: 28.06 kB / 0.7195 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.4373, allocations: 18.92 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.4373, allocations: 2.938 kB / 0.7195 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.4374, allocations: 3.844 kB / 0.7196 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.4374, allocations: 16.17 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.4374, allocations: 16.81 kB / 0.7196 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.4375, allocations: 49.62 kB / 0.7196 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4375, allocations: 0 / 0.7196 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4376, allocations: 0 / 0.7196 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4376, allocations: 1.5 kB / 0.7196 GB, free: 22.21 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.0004421/0.438, allocations: 291.4 kB / 0.7199 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4381, allocations: 9.219 kB / 0.7199 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.4381, allocations: 32.53 kB / 0.7199 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.4381, allocations: 7.453 kB / 0.72 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.4382, allocations: 107.4 kB / 0.7201 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.4382, allocations: 5.594 kB / 0.7201 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.4382, allocations: 5.5 kB / 0.7201 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.4384, allocations: 74.25 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4384, allocations: 3.938 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.4385, allocations: 4 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4385, allocations: 1.875 kB / 0.7201 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.4386, allocations: 66.39 kB / 0.7202 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.439, allocations: 230.9 kB / 0.7204 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4391, allocations: 55.16 kB / 0.7205 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.4392, allocations: 46.25 kB / 0.7205 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4392, allocations: 0 / 0.7205 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4393, allocations: 32.47 kB / 0.7206 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4393, allocations: 0 / 0.7206 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003843/0.4396, allocations: 127.6 kB / 0.7207 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.4397, allocations: 52.56 kB / 0.7207 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.494e-05/0.4397, allocations: 107.7 kB / 0.7208 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.633e-06/0.4397, allocations: 29.64 kB / 0.7209 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.4398, allocations: 91.55 kB / 0.721 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.4398, allocations: 18.12 kB / 0.721 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4398, allocations: 17.69 kB / 0.721 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.4399, allocations: 314.7 kB / 0.7213 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.44, allocations: 30.3 kB / 0.7213 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.889e-05/0.44, allocations: 31.73 kB / 0.7213 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.4402, allocations: 73.95 kB / 0.7214 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4402, allocations: 0 / 0.7214 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001899/0.4404, allocations: 94.89 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.4404, allocations: 4.594 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.4404, allocations: 1.094 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4404, allocations: 0.6562 kB / 0.7215 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4405, allocations: 23.33 kB / 0.7215 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4405, allocations: 0.5156 kB / 0.7215 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.4406, allocations: 19.23 kB / 0.7216 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4406, allocations: 5.969 kB / 0.7216 GB, free: 20.59 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 (3): * Single equations (assignments): 3 * 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 5.833e-05/0.4407, allocations: 113.8 kB / 0.7217 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.4407, allocations: 6.297 kB / 0.7217 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.4407, allocations: 9.828 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4407, allocations: 1.797 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4407, allocations: 0 / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4407, allocations: 4 kB / 0.7217 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.99e-05/0.4408, allocations: 133.4 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4408, allocations: 1.188 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.4409, allocations: 19.78 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4409, allocations: 336 / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.4409, allocations: 1.25 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4409, allocations: 0.7969 kB / 0.7218 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4409, allocations: 3.938 kB / 0.7218 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.4411, allocations: 206.3 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.4411, allocations: 2.922 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.4411, allocations: 5.891 kB / 0.722 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.4412, allocations: 10.91 kB / 0.7221 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.4413, allocations: 3.828 kB / 0.7221 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4413, allocations: 1.219 kB / 0.7221 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.4413, allocations: 88.69 kB / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4413, allocations: 0 / 0.7221 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001498/0.4415, allocations: 11.12 kB / 0.7222 GB, free: 20.04 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 (3): * Single equations (assignments): 3 * 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.0004315/0.4419, allocations: 0.723 MB / 0.7229 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.4421, allocations: 74.47 kB / 0.7229 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4421, allocations: 0 / 0.7229 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.4422, allocations: 33.28 kB / 0.723 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4426, allocations: 12.02 kB / 0.723 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.4431, allocations: 157.9 kB / 0.7231 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.4432, allocations: 64.77 kB / 0.7232 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.116e-05/0.4432, allocations: 5.219 kB / 0.7232 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.4433, allocations: 16.34 kB / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/0.4433, allocations: 0 / 0.7232 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.4603, allocations: 2.309 MB / 0.7255 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/7.123, allocations: 6.297 kB / 0.7255 GB, free: 18.18 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average_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_Reals_Validation_Average.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.84258682699874] Failed to read output from testmodel.py, exit status != 0: 7.201145916013047 7.211088954 6.771581823 Calling exit ...