Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.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.000976/0.000976, 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.0008634/0.0008634, allocations: 162.3 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.8605/0.8605, 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 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.7058/0.7058, 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.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_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.000933/0.000933, allocations: 67.66 kB / 0.6183 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.4439/0.4449, allocations: 102 MB / 0.7179 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001908/0.4468, allocations: 0.8066 MB / 0.7187 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.4479, allocations: 0.9086 MB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.448, allocations: 1.031 kB / 0.7196 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.4481, allocations: 18.75 kB / 0.7196 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.4482, allocations: 19.89 kB / 0.7196 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.4485, allocations: 55.72 kB / 0.7197 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4487, allocations: 130.5 kB / 0.7198 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.4488, allocations: 35.98 kB / 0.7198 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.4489, allocations: 88.39 kB / 0.7199 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.4491, allocations: 70.56 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.4491, allocations: 17.11 kB / 0.72 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.4492, allocations: 16.31 kB / 0.72 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.4492, allocations: 36.84 kB / 0.72 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.4493, allocations: 41.45 kB / 0.7201 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.4495, allocations: 167.6 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.4495, allocations: 1.125 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.604e-06/0.4495, allocations: 3.938 kB / 0.7202 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.4495, allocations: 0 / 0.7202 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007153/0.4502, allocations: 372.8 kB / 0.7206 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.4503, allocations: 9.688 kB / 0.7206 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.4503, allocations: 46.92 kB / 0.7207 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.4504, allocations: 16.66 kB / 0.7207 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4506, allocations: 143.4 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.4506, allocations: 8.469 kB / 0.7208 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.4506, allocations: 14.41 kB / 0.7208 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.451, allocations: 147.3 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.451, allocations: 0 / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.451, allocations: 5.125 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.451, allocations: 2.188 kB / 0.721 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.4514, allocations: 155 kB / 0.7211 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.452, allocations: 363 kB / 0.7215 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.4526, allocations: 171.6 kB / 0.7216 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.4527, allocations: 81.89 kB / 0.7217 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.4528, allocations: 2.25 kB / 0.7217 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.4528, allocations: 36.72 kB / 0.7217 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4528, allocations: 0 / 0.7217 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006857/0.4535, allocations: 283.1 kB / 0.722 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.4535, allocations: 54.31 kB / 0.7221 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4536, allocations: 148.2 kB / 0.7222 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4537, allocations: 27.47 kB / 0.7222 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.4537, allocations: 108.9 kB / 0.7223 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.4537, allocations: 33.59 kB / 0.7224 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.4538, allocations: 35.88 kB / 0.7224 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.4539, allocations: 325.9 kB / 0.7227 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.454, allocations: 74.77 kB / 0.7228 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.4542, allocations: 78.41 kB / 0.7229 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.4546, allocations: 153.8 kB / 0.723 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4546, allocations: 1.031 kB / 0.723 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000382/0.455, allocations: 207 kB / 0.7232 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.455, allocations: 7.125 kB / 0.7232 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.455, allocations: 0 / 0.7232 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.455, allocations: 0 / 0.7232 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4552, allocations: 41.23 kB / 0.7233 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4552, allocations: 0 / 0.7233 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.4553, allocations: 23.05 kB / 0.7233 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4553, allocations: 4.688 kB / 0.7233 GB, free: 19.82 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.643e-05/0.4554, allocations: 137.2 kB / 0.7234 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.4554, allocations: 11.58 kB / 0.7234 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.4554, allocations: 17.48 kB / 0.7234 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4554, allocations: 1.406 kB / 0.7234 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4554, allocations: 0 / 0.7234 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4554, allocations: 2.625 kB / 0.7234 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.4556, allocations: 188.9 kB / 0.7236 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4556, allocations: 2.031 kB / 0.7236 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.4558, allocations: 42.97 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4558, allocations: 1.375 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4558, allocations: 2.641 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4558, allocations: 1.094 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4558, allocations: 3.938 kB / 0.7237 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.4562, allocations: 303.6 kB / 0.724 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.4562, allocations: 15.84 kB / 0.724 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.4563, allocations: 1.031 kB / 0.724 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4564, allocations: 18.98 kB / 0.724 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4565, allocations: 35.55 kB / 0.724 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4565, allocations: 5.547 kB / 0.724 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.4565, allocations: 112.2 kB / 0.7241 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4565, allocations: 0 / 0.7241 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001886/0.4567, allocations: 26.36 kB / 0.7242 GB, free: 19.18 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006907/0.4574, allocations: 0.8445 MB / 0.725 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.4579, allocations: 164 kB / 0.7252 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4579, allocations: 0 / 0.7252 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.4581, allocations: 99.67 kB / 0.7252 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4584, allocations: 15.33 kB / 0.7253 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.4602, allocations: 1.86 MB / 0.7271 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.643e-05/0.4603, allocations: 93.22 kB / 0.7272 GB, free: 16.94 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.149e-05/0.4604, allocations: 24.75 kB / 0.7272 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.304e-05/0.4604, allocations: 47.02 kB / 0.7272 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.4604, allocations: 0 / 0.7272 GB, free: 16.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.4849, allocations: 4.677 MB / 0.7318 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/7.11, allocations: 5.719 kB / 0.7318 GB, free: 15.84 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.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_Integers_Validation_MultiSum.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.81770878797397] Failed to read output from testmodel.py, exit status != 0: 7.190768888918683 7.202636354 6.751072315 Calling exit ...