Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.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.000825/0.000825, 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.0009309/0.0009309, 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.8633/0.8633, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.701/0.701, allocations: 154.9 MB / 414.2 MB, free: 0.5117 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.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",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.001047/0.001047, allocations: 70.45 kB / 0.6187 GB, free: 13.08 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.4676/0.4687, allocations: 102 MB / 0.7183 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001524/0.4702, allocations: 0.6381 MB / 0.7189 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001758/0.4704, allocations: 11.7 kB / 0.7189 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.4704, allocations: 1.438 kB / 0.7189 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.4705, allocations: 1.359 kB / 0.7189 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.4706, allocations: 5.531 kB / 0.7189 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 8.722e-05/0.4707, allocations: 6.766 kB / 0.7189 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.916e-05/0.4708, allocations: 26.28 kB / 0.7189 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4709, allocations: 25.45 kB / 0.719 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.4709, allocations: 14.7 kB / 0.719 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.471, allocations: 23.5 kB / 0.719 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.471, allocations: 2.375 kB / 0.719 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.471, allocations: 3.812 kB / 0.719 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.471, allocations: 9.25 kB / 0.719 GB, free: 22.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.4711, allocations: 16.86 kB / 0.719 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.4712, allocations: 53.69 kB / 0.7191 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4712, allocations: 4 kB / 0.7191 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4712, allocations: 0 / 0.7191 GB, free: 22.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4712, allocations: 1.125 kB / 0.7191 GB, free: 22.77 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002736/0.4715, allocations: 275.7 kB / 0.7194 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4715, allocations: 10.22 kB / 0.7194 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.45e-05/0.4715, allocations: 38.22 kB / 0.7194 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.4716, allocations: 8.797 kB / 0.7194 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.4717, allocations: 125.1 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4717, allocations: 6.656 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.4717, allocations: 3.844 kB / 0.7195 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4718, allocations: 79.5 kB / 0.7196 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4718, allocations: 7.938 kB / 0.7196 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4718, allocations: 7.938 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4718, allocations: 1.438 kB / 0.7196 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.145e-05/0.4719, allocations: 49.03 kB / 0.7197 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.4722, allocations: 446.2 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.4723, allocations: 166.9 kB / 0.7203 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.273e-05/0.4723, allocations: 81.11 kB / 0.7203 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.4723, allocations: 76.25 kB / 0.7204 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.4723, allocations: 111.6 kB / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.4723, allocations: 0 / 0.7205 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.189e-05/0.4724, allocations: 49.72 kB / 0.7206 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.4724, allocations: 132.3 kB / 0.7207 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.4725, allocations: 177.8 kB / 0.7209 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-06/0.4725, allocations: 25.7 kB / 0.7209 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.4726, allocations: 93.62 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.4726, allocations: 3.938 kB / 0.721 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.4726, allocations: 13.42 kB / 0.721 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.4726, allocations: 320.2 kB / 0.7213 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.4726, allocations: 10.72 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.4727, allocations: 6.969 kB / 0.7213 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.603e-05/0.4727, allocations: 23.86 kB / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4727, allocations: 0 / 0.7213 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001005/0.4728, allocations: 53.41 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4728, allocations: 5.281 kB / 0.7214 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4728, allocations: 5.141 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4728, allocations: 0.6562 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.4729, allocations: 8.047 kB / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4729, allocations: 0 / 0.7214 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.4729, allocations: 9.281 kB / 0.7214 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4729, allocations: 1.328 kB / 0.7214 GB, free: 20.52 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 (1): * Single equations (assignments): 1 * 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.038e-05/0.473, allocations: 204.4 kB / 0.7216 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.473, allocations: 109.1 kB / 0.7217 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.473, allocations: 113.8 kB / 0.7218 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.473, allocations: 187 kB / 0.722 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/0.473, allocations: 182.7 kB / 0.7222 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4731, allocations: 177.9 kB / 0.7223 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.4732, allocations: 387.1 kB / 0.7227 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.4732, allocations: 103 kB / 0.7228 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.4732, allocations: 110.8 kB / 0.7229 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.4732, allocations: 178 kB / 0.7231 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4732, allocations: 184.4 kB / 0.7233 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.4732, allocations: 185.9 kB / 0.7234 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/0.4732, allocations: 178.5 kB / 0.7236 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.426e-05/0.4733, allocations: 316.6 kB / 0.7239 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.4733, allocations: 111.7 kB / 0.724 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.4734, allocations: 182.2 kB / 0.7242 GB, free: 17.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.4734, allocations: 108.4 kB / 0.7243 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.4734, allocations: 186 kB / 0.7245 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.4734, allocations: 102.9 kB / 0.7246 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.4735, allocations: 134.7 kB / 0.7247 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4735, allocations: 0 / 0.7247 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001455/0.4736, allocations: 8.625 kB / 0.7247 GB, free: 17.07 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.0001572/0.4738, allocations: 0.8052 MB / 0.7255 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.394e-05/0.4739, allocations: 12.14 kB / 0.7255 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4739, allocations: 0 / 0.7255 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.4739, allocations: 9.094 kB / 0.7255 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.4741, allocations: 465.4 kB / 0.726 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007454/0.4748, allocations: 1.6 MB / 0.7275 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.4749, allocations: 80.7 kB / 0.7276 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.4749, allocations: 7.656 kB / 0.7276 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.4749, allocations: 16.33 kB / 0.7276 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4749, allocations: 0 / 0.7276 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.4887, allocations: 2.265 MB / 0.7298 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.73/7.219, allocations: 11.16 kB / 0.7298 GB, free: 13.42 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.971471028053202] Failed to read output from testmodel.py, exit status != 0: 7.294946587993763 7.304855152 6.831529332 Calling exit ...