Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000793/0.000793, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009115/0.0009115, allocations: 212.1 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9735/0.9735, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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:190: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:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7955/0.7955, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [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.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum,fileNamePrefix="IDEAS_dev_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.0008245/0.0008245, allocations: 67.12 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4816, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001433/0.483, allocations: 0.8075 MB / 0.8186 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.4837, allocations: 0.9177 MB / 0.8195 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.4838, allocations: 9.844 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.538e-05/0.4839, allocations: 14.12 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.44e-05/0.484, allocations: 24.86 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.4841, allocations: 53.61 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.4843, allocations: 132.5 kB / 0.8197 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.4844, allocations: 33.98 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.4845, allocations: 58.17 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4846, allocations: 69.03 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.4846, allocations: 14 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.4846, allocations: 12.97 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.4847, allocations: 40.27 kB / 0.8199 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.4847, allocations: 48.94 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.4849, allocations: 147.5 kB / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4849, allocations: 0 / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4849, allocations: 0 / 0.8201 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4849, allocations: 0 / 0.8201 GB, free: 15.5 MB / 0.6198 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.0006169/0.4855, allocations: 369.8 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4856, allocations: 7.594 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.4856, allocations: 39.7 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.4857, allocations: 19.83 kB / 0.8205 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.4859, allocations: 152.2 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4859, allocations: 7.469 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.4859, allocations: 9.438 kB / 0.8207 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.4862, allocations: 146.5 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4862, allocations: 0 / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.4862, allocations: 7.984 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4862, allocations: 1.656 kB / 0.8208 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.4866, allocations: 161.7 kB / 0.821 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.487, allocations: 358.1 kB / 0.8213 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.4875, allocations: 175.5 kB / 0.8215 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4876, allocations: 83.12 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4877, allocations: 1.125 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.4877, allocations: 31.66 kB / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.4877, allocations: 0 / 0.8216 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005703/0.4883, allocations: 287.9 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.4883, allocations: 57.22 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.4884, allocations: 158.1 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4884, allocations: 25.7 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.4885, allocations: 105.4 kB / 0.8222 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.4885, allocations: 36.64 kB / 0.8223 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.4886, allocations: 31.66 kB / 0.8223 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.4887, allocations: 321.3 kB / 0.8226 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.4888, allocations: 70.72 kB / 0.8227 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.489, allocations: 76.69 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.4893, allocations: 161 kB / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4893, allocations: 0 / 0.8229 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003632/0.4897, allocations: 205 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4897, allocations: 5.125 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4897, allocations: 0.6094 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4897, allocations: 2.062 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4899, allocations: 39.84 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4899, allocations: 1.344 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.49, allocations: 26.72 kB / 0.8232 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.49, allocations: 4.594 kB / 0.8232 GB, free: 13.51 MB / 0.6198 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 7.857e-05/0.49, allocations: 125.8 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.4901, allocations: 13.97 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.4901, allocations: 20.84 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4901, allocations: 1.219 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4901, allocations: 0.75 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4901, allocations: 1.359 kB / 0.8233 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.4903, allocations: 186.8 kB / 0.8235 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4903, allocations: 3.938 kB / 0.8235 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.4904, allocations: 48.05 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4904, allocations: 1.375 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4904, allocations: 2.109 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.4904, allocations: 1.375 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4904, allocations: 3.938 kB / 0.8235 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.4908, allocations: 302.8 kB / 0.8238 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.4908, allocations: 17.12 kB / 0.8239 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.4908, allocations: 0.6562 kB / 0.8239 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.4909, allocations: 22.44 kB / 0.8239 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/0.491, allocations: 32.05 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.491, allocations: 4.297 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.4911, allocations: 112 kB / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4911, allocations: 0 / 0.824 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001766/0.4913, allocations: 30.89 kB / 0.824 GB, free: 12.86 MB / 0.6198 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.0005989/0.4919, allocations: 0.8355 MB / 0.8249 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003788/0.4922, allocations: 175.8 kB / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4922, allocations: 0 / 0.825 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.4924, allocations: 97.5 kB / 0.8251 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4926, allocations: 11.88 kB / 0.8251 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.4945, allocations: 1.859 MB / 0.827 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.307e-05/0.4946, allocations: 90.48 kB / 0.827 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.4947, allocations: 18.98 kB / 0.8271 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.552e-05/0.4948, allocations: 49.11 kB / 0.8271 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.4948, allocations: 0 / 0.8271 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.5123, allocations: 4.554 MB / 0.8315 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.897/7.41, allocations: 6.953 kB / 0.8316 GB, free: 9.543 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.422012971714139] Failed to read output from testmodel.py, exit status != 0: 7.485324701759964 7.496274305 7.009481377 Calling exit ...