Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0007947/0.0007947, 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.000895/0.000895, 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.901/0.901, allocations: 177.2 MB / 202.8 MB, free: 5.773 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.6861/0.6861, 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.MultiMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMin",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.001489/0.001489, allocations: 63 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.4836/0.4851, allocations: 102 MB / 0.718 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001422/0.4865, allocations: 0.6337 MB / 0.7186 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000171/0.4866, allocations: 8.891 kB / 0.7186 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.4867, allocations: 7.938 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.4868, allocations: 2.016 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.4868, allocations: 5.797 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.4869, allocations: 7.125 kB / 0.7186 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.4871, allocations: 44.05 kB / 0.7186 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4872, allocations: 17.61 kB / 0.7187 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.4872, allocations: 27.72 kB / 0.7187 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.189e-05/0.4872, allocations: 15.55 kB / 0.7187 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4873, allocations: 3.25 kB / 0.7187 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.4873, allocations: 2.344 kB / 0.7187 GB, free: 22.86 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.4873, allocations: 17.27 kB / 0.7187 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.4873, allocations: 17.23 kB / 0.7187 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.4875, allocations: 54.52 kB / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4875, allocations: 0 / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.574e-06/0.4875, allocations: 0 / 0.7188 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4875, allocations: 1.188 kB / 0.7188 GB, free: 22.81 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.0002785/0.4877, allocations: 276.2 kB / 0.7191 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4878, allocations: 8.688 kB / 0.7191 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.443e-05/0.4878, allocations: 38.02 kB / 0.7191 GB, free: 22.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.4878, allocations: 8.844 kB / 0.7191 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.488, allocations: 121.5 kB / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.488, allocations: 6.531 kB / 0.7192 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.488, allocations: 12.28 kB / 0.7192 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.4881, allocations: 83.02 kB / 0.7193 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.4881, allocations: 3.938 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4881, allocations: 0 / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4881, allocations: 1.281 kB / 0.7193 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.4882, allocations: 48.88 kB / 0.7194 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.4885, allocations: 449.9 kB / 0.7198 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.4886, allocations: 167.9 kB / 0.72 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.08e-05/0.4886, allocations: 80.84 kB / 0.72 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-06/0.4886, allocations: 80.62 kB / 0.7201 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.4886, allocations: 111.6 kB / 0.7202 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.4886, allocations: 0 / 0.7202 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.007e-05/0.4887, allocations: 37.73 kB / 0.7203 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.4887, allocations: 132.5 kB / 0.7204 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.4888, allocations: 173.7 kB / 0.7206 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-06/0.4888, allocations: 25.7 kB / 0.7206 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.4888, allocations: 95.05 kB / 0.7207 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.4888, allocations: 0 / 0.7207 GB, free: 21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.4888, allocations: 17.14 kB / 0.7207 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.922e-05/0.4889, allocations: 316.7 kB / 0.721 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.4889, allocations: 13.84 kB / 0.721 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.4889, allocations: 10.61 kB / 0.721 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.4889, allocations: 20.38 kB / 0.721 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4889, allocations: 0 / 0.721 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.736e-05/0.489, allocations: 53.62 kB / 0.7211 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.4891, allocations: 5.359 kB / 0.7211 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4891, allocations: 0.9375 kB / 0.7211 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4891, allocations: 0 / 0.7211 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.4891, allocations: 7.891 kB / 0.7211 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4891, allocations: 4.094 kB / 0.7211 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.808e-05/0.4892, allocations: 9.141 kB / 0.7211 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.4892, allocations: 5.062 kB / 0.7211 GB, free: 20.58 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.044e-05/0.4892, allocations: 193.1 kB / 0.7213 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4892, allocations: 112.6 kB / 0.7214 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.4893, allocations: 113.4 kB / 0.7215 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.4893, allocations: 182.6 kB / 0.7217 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.4893, allocations: 182.1 kB / 0.7219 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.882e-05/0.4893, allocations: 183.2 kB / 0.722 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.4894, allocations: 391.1 kB / 0.7224 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.4894, allocations: 106.7 kB / 0.7225 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.029e-05/0.4894, allocations: 102.8 kB / 0.7226 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.4895, allocations: 182.5 kB / 0.7228 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.4895, allocations: 183.7 kB / 0.723 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.4895, allocations: 186.6 kB / 0.7231 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.4895, allocations: 178.6 kB / 0.7233 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.114e-05/0.4896, allocations: 315.8 kB / 0.7236 GB, free: 17.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.4896, allocations: 111.2 kB / 0.7237 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.4896, allocations: 182.6 kB / 0.7239 GB, free: 17.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4e-05/0.4897, allocations: 108.1 kB / 0.724 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.4897, allocations: 182.8 kB / 0.7242 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4897, allocations: 106.8 kB / 0.7243 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.656e-05/0.4898, allocations: 134.4 kB / 0.7244 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4898, allocations: 0 / 0.7244 GB, free: 17.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001458/0.4899, allocations: 5.25 kB / 0.7244 GB, free: 17.14 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.0001768/0.4901, allocations: 0.8077 MB / 0.7252 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.4902, allocations: 12.06 kB / 0.7252 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4902, allocations: 1.094 kB / 0.7252 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4902, allocations: 7.938 kB / 0.7252 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4904, allocations: 469 kB / 0.7257 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.4912, allocations: 1.594 MB / 0.7272 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.501e-05/0.4913, allocations: 72.41 kB / 0.7273 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.4913, allocations: 7.016 kB / 0.7273 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.4913, allocations: 20.77 kB / 0.7273 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4913, allocations: 0 / 0.7273 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01784/0.5092, allocations: 2.272 MB / 0.7295 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.55/7.059, allocations: 7.344 kB / 0.7295 GB, free: 13.48 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin_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_MultiMin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.80733204795979] Failed to read output from testmodel.py, exit status != 0: 7.140034471987747 7.151247714 6.6619461300000005 Calling exit ...