Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00115/0.00115, 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.001047/0.001047, allocations: 162 kB / 22.43 MB, free: 2.148 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.8762/0.8762, 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.7242/0.7242, allocations: 154.7 MB / 413.9 MB, free: 0.7305 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.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,fileNamePrefix="IDEAS_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.001423/0.001423, allocations: 71.44 kB / 0.6184 GB, free: 13.53 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.4214/0.4228, allocations: 101.9 MB / 0.7179 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001587/0.4244, allocations: 0.8273 MB / 0.7188 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.4253, allocations: 0.9052 MB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.4253, allocations: 2 kB / 0.7196 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.4255, allocations: 20.97 kB / 0.7197 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.4256, allocations: 24.58 kB / 0.7197 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.4257, allocations: 42.25 kB / 0.7197 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.4259, allocations: 139.1 kB / 0.7199 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.426, allocations: 46.14 kB / 0.7199 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4261, allocations: 90.02 kB / 0.72 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.4263, allocations: 81.27 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.4263, allocations: 12.78 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.108e-05/0.4263, allocations: 13.44 kB / 0.7201 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.4264, allocations: 44.27 kB / 0.7201 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.4264, allocations: 47.66 kB / 0.7202 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.4266, allocations: 195 kB / 0.7204 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4266, allocations: 0 / 0.7204 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4266, allocations: 0 / 0.7204 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4267, allocations: 1.094 kB / 0.7204 GB, free: 21.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000611/0.4273, allocations: 446.4 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4273, allocations: 8.875 kB / 0.7208 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.4273, allocations: 40.66 kB / 0.7208 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.4274, allocations: 20.58 kB / 0.7209 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4275, allocations: 156.7 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4275, allocations: 16.34 kB / 0.721 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4275, allocations: 6.016 kB / 0.721 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.4279, allocations: 183.8 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.4279, allocations: 4.641 kB / 0.7212 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4279, allocations: 5.188 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4279, allocations: 2.719 kB / 0.7212 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004266/0.4283, allocations: 219.4 kB / 0.7214 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.429, allocations: 464.8 kB / 0.7219 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.4293, allocations: 146.5 kB / 0.722 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.4295, allocations: 109.4 kB / 0.7221 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.4295, allocations: 5.25 kB / 0.7221 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.4295, allocations: 37.16 kB / 0.7222 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.404e-06/0.4295, allocations: 3.984 kB / 0.7222 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007168/0.4303, allocations: 362 kB / 0.7225 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.4303, allocations: 62.84 kB / 0.7226 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4304, allocations: 176.8 kB / 0.7227 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.4304, allocations: 27.14 kB / 0.7228 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4305, allocations: 125 kB / 0.7229 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.4305, allocations: 29.11 kB / 0.7229 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.4305, allocations: 29.75 kB / 0.7229 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.4306, allocations: 324.1 kB / 0.7232 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.4308, allocations: 105.5 kB / 0.7233 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.431, allocations: 101.6 kB / 0.7234 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.4314, allocations: 218.2 kB / 0.7236 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4314, allocations: 0 / 0.7236 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004514/0.4319, allocations: 262 kB / 0.7239 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4319, allocations: 5.844 kB / 0.7239 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4319, allocations: 0 / 0.7239 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4319, allocations: 5.891 kB / 0.7239 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.4321, allocations: 41.45 kB / 0.7239 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4321, allocations: 5.891 kB / 0.724 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.4321, allocations: 30.19 kB / 0.724 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.4322, allocations: 1.188 kB / 0.724 GB, free: 19.73 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 6.264e-05/0.4322, allocations: 133.1 kB / 0.7241 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.4322, allocations: 18.28 kB / 0.7241 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.4323, allocations: 25 kB / 0.7241 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4323, allocations: 1.25 kB / 0.7241 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.4323, allocations: 4.547 kB / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4323, allocations: 4.703 kB / 0.7242 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.4324, allocations: 207.3 kB / 0.7244 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4324, allocations: 1.344 kB / 0.7244 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.4326, allocations: 49.67 kB / 0.7244 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4326, allocations: 1.125 kB / 0.7244 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.4326, allocations: 9.094 kB / 0.7244 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4326, allocations: 0.7031 kB / 0.7244 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4326, allocations: 5.125 kB / 0.7244 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.433, allocations: 359.3 kB / 0.7248 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.433, allocations: 9.328 kB / 0.7248 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.433, allocations: 4.797 kB / 0.7248 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.4331, allocations: 30.61 kB / 0.7248 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.4332, allocations: 17.67 kB / 0.7248 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.4332, allocations: 1.312 kB / 0.7248 GB, free: 19.15 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.4333, allocations: 138.7 kB / 0.725 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4333, allocations: 0.9375 kB / 0.725 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001626/0.4334, allocations: 34.39 kB / 0.725 GB, free: 19.05 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.0005525/0.434, allocations: 0.8819 MB / 0.7259 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.4344, allocations: 221.9 kB / 0.7261 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.4344, allocations: 0 / 0.7261 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.4346, allocations: 114.3 kB / 0.7262 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.4349, allocations: 33.44 kB / 0.7262 GB, free: 18.26 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4368, allocations: 2.14 MB / 0.7283 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.4369, allocations: 112.4 kB / 0.7284 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.4369, allocations: 24.3 kB / 0.7284 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.437, allocations: 42.06 kB / 0.7285 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/0.437, allocations: 3.938 kB / 0.7285 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.4543, allocations: 4.478 MB / 0.7328 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/7.015, allocations: 11.03 kB / 0.7329 GB, free: 15.62 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Reals_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.737226817989722] Failed to read output from testmodel.py, exit status != 0: 7.095494962995872 7.105843065 6.677050827 Calling exit ...