Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001394/0.001394, 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.001643/0.001643, 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.9215/0.9215, 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.687/0.687, allocations: 154.7 MB / 413.9 MB, free: 0.75 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.MultiMax,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IDEAS_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.0009385/0.0009385, allocations: 67.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.472/0.4729, allocations: 102 MB / 0.718 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001347/0.4743, allocations: 0.6357 MB / 0.7186 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.4744, allocations: 15.14 kB / 0.7186 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.197e-05/0.4744, allocations: 1.312 kB / 0.7186 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.352e-05/0.4745, allocations: 0 / 0.7186 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.4746, allocations: 10.02 kB / 0.7186 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.042e-05/0.4746, allocations: 2.203 kB / 0.7186 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.061e-05/0.4747, allocations: 23.52 kB / 0.7186 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.4748, allocations: 24.23 kB / 0.7186 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.4749, allocations: 26.95 kB / 0.7187 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 2.997e-05/0.4749, allocations: 15.69 kB / 0.7187 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.4749, allocations: 3.469 kB / 0.7187 GB, free: 22.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.4749, allocations: 7.031 kB / 0.7187 GB, free: 22.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.475, allocations: 15.86 kB / 0.7187 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.475, allocations: 17.86 kB / 0.7187 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.4751, allocations: 50.64 kB / 0.7188 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4751, allocations: 0 / 0.7188 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4751, allocations: 1.156 kB / 0.7188 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.4751, allocations: 0 / 0.7188 GB, free: 22.88 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.0002464/0.4754, allocations: 279.7 kB / 0.719 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4754, allocations: 9.719 kB / 0.7191 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.4754, allocations: 38.2 kB / 0.7191 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.4754, allocations: 7.531 kB / 0.7191 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.4756, allocations: 126.7 kB / 0.7192 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.4756, allocations: 14.92 kB / 0.7192 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.4756, allocations: 3.188 kB / 0.7192 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4757, allocations: 73.75 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4757, allocations: 6.109 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.4757, allocations: 0 / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4757, allocations: 1.156 kB / 0.7193 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.4758, allocations: 48.86 kB / 0.7194 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.4761, allocations: 449.9 kB / 0.7198 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.4761, allocations: 167.5 kB / 0.7199 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.041e-05/0.4762, allocations: 80.25 kB / 0.72 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.4762, allocations: 84.84 kB / 0.7201 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.4762, allocations: 111.5 kB / 0.7202 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.4762, allocations: 0 / 0.7202 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 5.311e-05/0.4762, allocations: 37.48 kB / 0.7202 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.4763, allocations: 131.7 kB / 0.7204 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4764, allocations: 177.8 kB / 0.7205 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.446e-06/0.4764, allocations: 26.31 kB / 0.7206 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.43e-05/0.4764, allocations: 93.94 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.4764, allocations: 0.5625 kB / 0.7207 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.4764, allocations: 17.34 kB / 0.7207 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.923e-05/0.4765, allocations: 319.7 kB / 0.721 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/0.4765, allocations: 9.75 kB / 0.721 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.4765, allocations: 6.875 kB / 0.721 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.4765, allocations: 20.66 kB / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4765, allocations: 0 / 0.721 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.066e-05/0.4766, allocations: 53.27 kB / 0.7211 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4766, allocations: 6.109 kB / 0.7211 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.4766, allocations: 0 / 0.7211 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.4766, allocations: 1.219 kB / 0.7211 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.368e-05/0.4767, allocations: 11.06 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.4767, allocations: 1.469 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.4767, allocations: 7.734 kB / 0.7211 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4767, allocations: 5.75 kB / 0.7211 GB, free: 20.64 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 4.546e-05/0.4768, allocations: 191.8 kB / 0.7213 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.4768, allocations: 113.2 kB / 0.7214 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.4768, allocations: 113.7 kB / 0.7215 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.4768, allocations: 186.9 kB / 0.7217 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.4768, allocations: 178 kB / 0.7218 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4769, allocations: 182.6 kB / 0.722 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.69e-05/0.477, allocations: 395.2 kB / 0.7224 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.477, allocations: 103.7 kB / 0.7225 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.477, allocations: 106.4 kB / 0.7226 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/0.477, allocations: 178.2 kB / 0.7228 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.477, allocations: 183.1 kB / 0.7229 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.476e-05/0.477, allocations: 186.7 kB / 0.7231 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/0.477, allocations: 179.1 kB / 0.7233 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.671e-05/0.4771, allocations: 319.3 kB / 0.7236 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.4771, allocations: 112.4 kB / 0.7237 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.4771, allocations: 181.9 kB / 0.7239 GB, free: 17.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.4772, allocations: 107.8 kB / 0.724 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.4772, allocations: 186.3 kB / 0.7242 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4772, allocations: 107.2 kB / 0.7243 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.305e-05/0.4773, allocations: 128.9 kB / 0.7244 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4773, allocations: 0 / 0.7244 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001441/0.4774, allocations: 4.938 kB / 0.7244 GB, free: 17.2 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.0001755/0.4776, allocations: 0.8086 MB / 0.7252 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.4777, allocations: 11.81 kB / 0.7252 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4777, allocations: 1.219 kB / 0.7252 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4777, allocations: 4 kB / 0.7252 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.478, allocations: 471 kB / 0.7256 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.4788, allocations: 1.599 MB / 0.7272 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.009e-05/0.4789, allocations: 72.88 kB / 0.7273 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.4789, allocations: 7.109 kB / 0.7273 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.4789, allocations: 19 kB / 0.7273 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.082e-06/0.4789, allocations: 1.062 kB / 0.7273 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01704/0.496, allocations: 2.268 MB / 0.7295 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.479/6.975, allocations: 5.375 kB / 0.7295 GB, free: 13.54 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.747805870021693] Failed to read output from testmodel.py, exit status != 0: 7.050673882011324 7.061205688 6.584113888 Calling exit ...