Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.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.0007713/0.0007713, 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.0007587/0.0007587, allocations: 162 kB / 22.43 MB, free: 2.141 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.9304/0.9304, 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 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.6996/0.6996, allocations: 154.9 MB / 414.2 MB, free: 500 kB / 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.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",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.001289/0.001289, allocations: 70.89 kB / 0.6187 GB, free: 13.22 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.4855/0.4868, allocations: 102 MB / 0.7183 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001484/0.4883, allocations: 0.8378 MB / 0.7191 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007747/0.4891, allocations: 0.8944 MB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.4891, allocations: 4.969 kB / 0.72 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.4893, allocations: 21.16 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.4894, allocations: 27.69 kB / 0.72 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.4895, allocations: 46.75 kB / 0.7201 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.4897, allocations: 136.1 kB / 0.7202 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.4899, allocations: 46.41 kB / 0.7202 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.49, allocations: 81.8 kB / 0.7203 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.4901, allocations: 78.2 kB / 0.7204 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.4901, allocations: 19.62 kB / 0.7204 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.4902, allocations: 13.06 kB / 0.7204 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.354e-05/0.4902, allocations: 40.84 kB / 0.7204 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.4903, allocations: 56.61 kB / 0.7205 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4905, allocations: 189.3 kB / 0.7207 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4905, allocations: 0.5156 kB / 0.7207 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.965e-06/0.4905, allocations: 1.5 kB / 0.7207 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4905, allocations: 0 / 0.7207 GB, free: 21.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006199/0.4911, allocations: 448.8 kB / 0.7211 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4912, allocations: 11.34 kB / 0.7211 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.4912, allocations: 44.27 kB / 0.7212 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.4912, allocations: 21.02 kB / 0.7212 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.4914, allocations: 152.4 kB / 0.7213 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.4914, allocations: 4.5 kB / 0.7213 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.4914, allocations: 10.41 kB / 0.7213 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003317/0.4917, allocations: 182.2 kB / 0.7215 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4917, allocations: 7.875 kB / 0.7215 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.4917, allocations: 1.562 kB / 0.7215 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.4918, allocations: 2.25 kB / 0.7215 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.4922, allocations: 221.1 kB / 0.7217 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.4928, allocations: 467.8 kB / 0.7222 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.4931, allocations: 145.7 kB / 0.7223 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.4933, allocations: 114.5 kB / 0.7224 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.4934, allocations: 1.25 kB / 0.7224 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4934, allocations: 32.69 kB / 0.7225 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4934, allocations: 0 / 0.7225 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007592/0.4941, allocations: 371.5 kB / 0.7228 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.4942, allocations: 61.41 kB / 0.7229 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4943, allocations: 183.9 kB / 0.7231 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.4943, allocations: 26.83 kB / 0.7231 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.4943, allocations: 125.3 kB / 0.7232 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.4944, allocations: 29.44 kB / 0.7232 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.4944, allocations: 22.55 kB / 0.7233 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.4944, allocations: 326.8 kB / 0.7236 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.4947, allocations: 105.2 kB / 0.7237 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.4949, allocations: 102.1 kB / 0.7238 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.4953, allocations: 217.8 kB / 0.724 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4953, allocations: 5.312 kB / 0.724 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004935/0.4958, allocations: 252.5 kB / 0.7242 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.4958, allocations: 6.609 kB / 0.7242 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/0.4958, allocations: 0.6562 kB / 0.7242 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4958, allocations: 0 / 0.7242 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.496, allocations: 54.72 kB / 0.7243 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.496, allocations: 4.594 kB / 0.7243 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4962, allocations: 31.83 kB / 0.7243 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4962, allocations: 5.656 kB / 0.7243 GB, free: 19.55 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 (9): * Single equations (assignments): 9 * 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 8.898e-05/0.4963, allocations: 130 kB / 0.7244 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.4963, allocations: 18.56 kB / 0.7245 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.4963, allocations: 24.06 kB / 0.7245 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4963, allocations: 1.953 kB / 0.7245 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4963, allocations: 7.938 kB / 0.7245 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.4963, allocations: 0.7031 kB / 0.7245 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4965, allocations: 207.8 kB / 0.7247 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4965, allocations: 0 / 0.7247 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.4967, allocations: 42.5 kB / 0.7247 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4967, allocations: 5.25 kB / 0.7247 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4967, allocations: 4.609 kB / 0.7247 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4967, allocations: 1.188 kB / 0.7247 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4967, allocations: 7.938 kB / 0.7247 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004613/0.4971, allocations: 357.1 kB / 0.7251 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.224e-05/0.4971, allocations: 11.58 kB / 0.7251 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.4972, allocations: 2.453 kB / 0.7251 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4973, allocations: 34.94 kB / 0.7251 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.4973, allocations: 19.67 kB / 0.7252 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.4973, allocations: 3.297 kB / 0.7252 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.4974, allocations: 138.9 kB / 0.7253 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4974, allocations: 0 / 0.7253 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001559/0.4976, allocations: 26.2 kB / 0.7253 GB, free: 18.88 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 (9): * Single equations (assignments): 9 * 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.0006009/0.4982, allocations: 0.8835 MB / 0.7262 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000455/0.4986, allocations: 229.6 kB / 0.7264 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4986, allocations: 0 / 0.7264 GB, free: 18.12 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4988, allocations: 116.7 kB / 0.7265 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4991, allocations: 31.44 kB / 0.7265 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.5013, allocations: 2.146 MB / 0.7286 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.5014, allocations: 111.7 kB / 0.7287 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.543e-05/0.5015, allocations: 22.03 kB / 0.7288 GB, free: 16.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.635e-05/0.5016, allocations: 41.66 kB / 0.7288 GB, free: 16.53 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.5016, allocations: 4 kB / 0.7288 GB, free: 16.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.5195, allocations: 4.481 MB / 0.7332 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.1, allocations: 5.656 kB / 0.7332 GB, free: 15.44 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum_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_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.949320596060716] Failed to read output from testmodel.py, exit status != 0: 7.180569795076735 7.190551494 6.698006834 Calling exit ...