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.001145/0.001145, 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.001229/0.001229, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.001/1.001, allocations: 230.6 MB / 256 MB, free: 9.797 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.806/0.806, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009897/0.0009897, allocations: 66.61 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5833, allocations: 102 MB / 0.8179 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001866/0.5852, allocations: 0.8461 MB / 0.8187 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009591/0.5861, allocations: 0.9281 MB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.5862, allocations: 2.906 kB / 0.8196 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.5863, allocations: 9.797 kB / 0.8196 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.5865, allocations: 20.39 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.5867, allocations: 61.39 kB / 0.8197 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.5869, allocations: 127.2 kB / 0.8198 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.587, allocations: 45.47 kB / 0.8199 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.5871, allocations: 66.09 kB / 0.8199 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5873, allocations: 75.75 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.5873, allocations: 10.97 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.5873, allocations: 11.91 kB / 0.82 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.5874, allocations: 37.22 kB / 0.8201 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.727e-05/0.5875, allocations: 58.53 kB / 0.8201 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.5877, allocations: 141.6 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.5877, allocations: 0.5625 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.285e-06/0.5877, allocations: 4 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.5877, allocations: 0 / 0.8202 GB, free: 15.55 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.0007145/0.5884, allocations: 367 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5885, allocations: 9.031 kB / 0.8206 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.307e-05/0.5885, allocations: 43.83 kB / 0.8206 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.5886, allocations: 19.41 kB / 0.8207 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.5888, allocations: 155.1 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5888, allocations: 15.09 kB / 0.8208 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5888, allocations: 8.172 kB / 0.8208 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.5892, allocations: 149.6 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5892, allocations: 3.938 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5892, allocations: 0 / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.5892, allocations: 1.469 kB / 0.821 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.5895, allocations: 160.6 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.5901, allocations: 382.1 kB / 0.8215 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.5905, allocations: 166.5 kB / 0.8217 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.5907, allocations: 81.58 kB / 0.8217 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.5907, allocations: 9.109 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.5908, allocations: 36.45 kB / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.5908, allocations: 0 / 0.8218 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006249/0.5914, allocations: 282.2 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.5914, allocations: 55.41 kB / 0.8221 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.5916, allocations: 153.8 kB / 0.8223 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.5916, allocations: 31.27 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.5917, allocations: 108.2 kB / 0.8224 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.5917, allocations: 29.72 kB / 0.8224 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.5917, allocations: 27.39 kB / 0.8224 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5918, allocations: 325.7 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.592, allocations: 74.44 kB / 0.8228 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5922, allocations: 76.98 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.5925, allocations: 161.2 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5925, allocations: 0 / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003631/0.5928, allocations: 203.3 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.5929, allocations: 5.438 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.5929, allocations: 4 kB / 0.8232 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.5929, allocations: 1.125 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.593, allocations: 37.38 kB / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.593, allocations: 0 / 0.8233 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.607e-05/0.5931, allocations: 24.11 kB / 0.8233 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.5931, allocations: 2.578 kB / 0.8233 GB, free: 13.54 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.802e-05/0.5932, allocations: 126.8 kB / 0.8234 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.5933, allocations: 13.08 kB / 0.8234 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.5933, allocations: 17.73 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5933, allocations: 1.125 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5933, allocations: 0 / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5933, allocations: 0.7969 kB / 0.8235 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.5935, allocations: 213.8 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5935, allocations: 6.547 kB / 0.8237 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.5936, allocations: 42.2 kB / 0.8237 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.5937, allocations: 9.375 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.5937, allocations: 3.641 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5937, allocations: 0 / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5937, allocations: 0.7969 kB / 0.8237 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.5941, allocations: 309.4 kB / 0.824 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/0.5941, allocations: 15.67 kB / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.5941, allocations: 1.688 kB / 0.824 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.5942, allocations: 22.56 kB / 0.8241 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.5943, allocations: 32.02 kB / 0.8241 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.5943, allocations: 3.938 kB / 0.8241 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.87e-05/0.5944, allocations: 110.5 kB / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5944, allocations: 0 / 0.8242 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001814/0.5946, allocations: 35.64 kB / 0.8242 GB, free: 12.88 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.0009734/0.5956, allocations: 0.8333 MB / 0.825 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.596, allocations: 169.1 kB / 0.8252 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.596, allocations: 0 / 0.8252 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.5962, allocations: 99.42 kB / 0.8253 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.5964, allocations: 18.58 kB / 0.8253 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.5985, allocations: 1.852 MB / 0.8271 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.5987, allocations: 0.707 MB / 0.8278 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.634e-05/0.5988, allocations: 20.7 kB / 0.8278 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5989, allocations: 45.17 kB / 0.8279 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of SimCode: time 9.31e-07/0.5989, allocations: 0 / 0.8279 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.622, allocations: 3.983 MB / 0.8318 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.203, allocations: 8.141 kB / 0.8318 GB, free: 9.43 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_MultiSum_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.259758269879967] Failed to read output from testmodel.py, exit status != 0: 7.284425856079906 7.300919673 6.709878241 Calling exit ...