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.0007301/0.0007301, allocations: 76.45 kB / 19.91 MB, free: 16 kB / 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.0007269/0.0007269, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.8283/0.8283, allocations: 177.2 MB / 203.6 MB, free: 5.758 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.6888/0.6888, allocations: 154.7 MB / 414.7 MB, free: 0.75 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum") [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.0009202/0.0009202, allocations: 65.31 kB / 0.6196 GB, free: 13.08 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.4071/0.408, allocations: 102 MB / 0.7192 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.00137/0.4093, allocations: 0.8277 MB / 0.72 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.4101, allocations: 0.8956 MB / 0.7209 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.4101, allocations: 6.188 kB / 0.7209 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.4102, allocations: 16.75 kB / 0.7209 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.4103, allocations: 28.17 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.4104, allocations: 45 kB / 0.721 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.4106, allocations: 136.2 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4107, allocations: 39.56 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.898e-05/0.4108, allocations: 85.52 kB / 0.7212 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.4109, allocations: 82.2 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.411, allocations: 12.84 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.411, allocations: 12.03 kB / 0.7213 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.411, allocations: 45.66 kB / 0.7213 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.4111, allocations: 51.16 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.4113, allocations: 193.1 kB / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4113, allocations: 4.75 kB / 0.7216 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4113, allocations: 3.938 kB / 0.7216 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.4113, allocations: 1.094 kB / 0.7216 GB, free: 22.13 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.0005864/0.4119, allocations: 437.8 kB / 0.722 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4119, allocations: 13.56 kB / 0.722 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.4119, allocations: 23.86 kB / 0.722 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4121, allocations: 158.3 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.4121, allocations: 7.844 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.4121, allocations: 10 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.4124, allocations: 180 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4124, allocations: 5.719 kB / 0.7224 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4124, allocations: 11.88 kB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4124, allocations: 6.891 kB / 0.7224 GB, free: 21.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.4129, allocations: 220.2 kB / 0.7226 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.4135, allocations: 429.7 kB / 0.723 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.4137, allocations: 146 kB / 0.7232 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4139, allocations: 114.1 kB / 0.7233 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.414, allocations: 5.875 kB / 0.7233 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.414, allocations: 35.91 kB / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.414, allocations: 0 / 0.7233 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007468/0.4147, allocations: 364.4 kB / 0.7237 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4147, allocations: 52.47 kB / 0.7237 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4149, allocations: 180.9 kB / 0.7239 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.4149, allocations: 26.77 kB / 0.7239 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.4149, allocations: 125 kB / 0.724 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.4149, allocations: 29.7 kB / 0.7241 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/0.415, allocations: 25.58 kB / 0.7241 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.415, allocations: 332.2 kB / 0.7244 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.4152, allocations: 101.1 kB / 0.7245 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.4154, allocations: 106 kB / 0.7246 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.4158, allocations: 219.1 kB / 0.7248 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4158, allocations: 0.6562 kB / 0.7248 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000434/0.4163, allocations: 252.2 kB / 0.725 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4163, allocations: 10.77 kB / 0.7251 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4163, allocations: 3.984 kB / 0.7251 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.4163, allocations: 1.438 kB / 0.7251 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.4165, allocations: 46.38 kB / 0.7251 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.4165, allocations: 0 / 0.7251 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.4166, allocations: 39.89 kB / 0.7251 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.4166, allocations: 9.062 kB / 0.7252 GB, free: 20.12 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.01e-05/0.4166, allocations: 128.7 kB / 0.7253 GB, free: 20 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.4166, allocations: 14.66 kB / 0.7253 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.4167, allocations: 24.08 kB / 0.7253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4167, allocations: 1.75 kB / 0.7253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4167, allocations: 3.938 kB / 0.7253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4167, allocations: 5.625 kB / 0.7253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.4168, allocations: 173.4 kB / 0.7255 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4168, allocations: 0 / 0.7255 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.417, allocations: 50.94 kB / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.417, allocations: 0 / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.417, allocations: 5.875 kB / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.417, allocations: 0 / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.417, allocations: 1.125 kB / 0.7255 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.4174, allocations: 359.4 kB / 0.7259 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.4174, allocations: 16.97 kB / 0.7259 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4175, allocations: 5.734 kB / 0.7259 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.4176, allocations: 29.58 kB / 0.7259 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.4176, allocations: 18.02 kB / 0.726 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.4176, allocations: 5.594 kB / 0.726 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.4177, allocations: 139.3 kB / 0.7261 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4177, allocations: 0 / 0.7261 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001658/0.4179, allocations: 34.58 kB / 0.7261 GB, free: 19.48 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 8.506e-05/0.4179, allocations: 92.94 kB / 0.7262 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004575/0.4184, allocations: 222.6 kB / 0.7264 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4184, allocations: 0 / 0.7264 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4186, allocations: 120.9 kB / 0.7265 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4189, allocations: 25.36 kB / 0.7266 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.4193, allocations: 336.8 kB / 0.7269 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.4194, allocations: 117.8 kB / 0.727 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.4194, allocations: 14.28 kB / 0.727 GB, free: 19 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.4194, allocations: 0 / 0.727 GB, free: 19 MB / 0.6355 GB Notification: Performance of Templates: time 0.003894/0.4233, allocations: 2.095 MB / 0.7291 GB, free: 18.86 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.469349001068622] Failed to read output from testmodel.py, exit status != 0: 0.4286404540762305 0.43663405000000005 0.023736474 Calling exit ...