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.0007501/0.0007501, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0007972/0.0007972, allocations: 219.6 kB / 22.26 MB, free: 3.691 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.9527/0.9527, allocations: 230.6 MB / 256 MB, free: 9.82 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.7875/0.7875, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.0008198/0.0008198, allocations: 74.06 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5694/0.5702, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001767/0.572, allocations: 0.8486 MB / 0.8187 GB, free: 0.7227 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009988/0.573, allocations: 0.9289 MB / 0.8196 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.5731, allocations: 2.312 kB / 0.8196 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.5732, allocations: 17.41 kB / 0.8196 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.5733, allocations: 21.16 kB / 0.8196 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.5735, allocations: 57.08 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.5737, allocations: 124 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.5739, allocations: 43.64 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.574, allocations: 68.08 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.5741, allocations: 78.92 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.5742, allocations: 10.38 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.88e-05/0.5742, allocations: 17.03 kB / 0.82 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.5743, allocations: 32.92 kB / 0.8201 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.5743, allocations: 63.09 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.5745, allocations: 137 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5745, allocations: 0 / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.155e-06/0.5745, allocations: 3.938 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.5745, allocations: 0 / 0.8202 GB, free: 15.7 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.0006794/0.5752, allocations: 371.9 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.5753, allocations: 10.25 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5753, allocations: 39.23 kB / 0.8206 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.5753, allocations: 14.75 kB / 0.8207 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/0.5755, allocations: 156.2 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.5756, allocations: 11.88 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.5756, allocations: 4.062 kB / 0.8208 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.5759, allocations: 156.4 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5759, allocations: 0 / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.576, allocations: 0 / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.576, allocations: 2.438 kB / 0.821 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.5763, allocations: 164.8 kB / 0.8211 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.5769, allocations: 386.3 kB / 0.8215 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.5775, allocations: 167.9 kB / 0.8217 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.5776, allocations: 83.14 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.5776, allocations: 2.281 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5777, allocations: 32.66 kB / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.5777, allocations: 0 / 0.8218 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005743/0.5782, allocations: 283.9 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.5783, allocations: 53.95 kB / 0.8221 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.5784, allocations: 152.1 kB / 0.8222 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5784, allocations: 34.7 kB / 0.8223 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.5784, allocations: 105 kB / 0.8224 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.5785, allocations: 30 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.5785, allocations: 27.95 kB / 0.8224 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.5786, allocations: 320.5 kB / 0.8227 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5788, allocations: 77.77 kB / 0.8228 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.5789, allocations: 79.7 kB / 0.8229 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.5792, allocations: 153 kB / 0.823 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5792, allocations: 10.44 kB / 0.823 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003609/0.5796, allocations: 202.3 kB / 0.8232 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5796, allocations: 5.75 kB / 0.8232 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5796, allocations: 0 / 0.8232 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5796, allocations: 1.766 kB / 0.8232 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.5798, allocations: 39.39 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5798, allocations: 1.094 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.374e-05/0.5799, allocations: 27.66 kB / 0.8233 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.5799, allocations: 3.672 kB / 0.8233 GB, free: 13.7 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 9.029e-05/0.58, allocations: 122 kB / 0.8234 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.58, allocations: 13.58 kB / 0.8234 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.58, allocations: 16.66 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.58, allocations: 5.188 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.58, allocations: 5.891 kB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.58, allocations: 0.5156 kB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.5802, allocations: 209.7 kB / 0.8237 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.5802, allocations: 3.938 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5804, allocations: 40.17 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5804, allocations: 2.156 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.5804, allocations: 1.359 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5804, allocations: 1.953 kB / 0.8237 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5804, allocations: 7.938 kB / 0.8237 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.5808, allocations: 302 kB / 0.824 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.5808, allocations: 19.67 kB / 0.824 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.5808, allocations: 6.156 kB / 0.824 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.664e-05/0.5809, allocations: 18.28 kB / 0.8241 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/0.581, allocations: 34.8 kB / 0.8241 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.581, allocations: 5.219 kB / 0.8241 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.411e-05/0.5811, allocations: 111 kB / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5811, allocations: 0 / 0.8242 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001747/0.5812, allocations: 31.23 kB / 0.8242 GB, free: 13.04 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.0006496/0.5819, allocations: 0.8341 MB / 0.825 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.5823, allocations: 168.6 kB / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5823, allocations: 0 / 0.8252 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.5825, allocations: 99.42 kB / 0.8253 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5827, allocations: 20.94 kB / 0.8253 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.5847, allocations: 1.86 MB / 0.8271 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.5849, allocations: 0.7011 MB / 0.8278 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.311e-05/0.5849, allocations: 23.69 kB / 0.8278 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.585, allocations: 45.22 kB / 0.8279 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.585, allocations: 1.062 kB / 0.8279 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.6071, allocations: 3.982 MB / 0.8318 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/7.332, allocations: 6.516 kB / 0.8318 GB, free: 9.586 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.285758358892053] Failed to read output from testmodel.py, exit status != 0: 7.410635295091197 7.421542761 6.844856036 Calling exit ...