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.0009438/0.0009438, allocations: 76.45 kB / 19.9 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.001299/0.001299, allocations: 170.2 kB / 23.18 MB, free: 1.383 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.9443/0.9443, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7411/0.7411, allocations: 154.7 MB / 414.7 MB, free: 0.7734 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.0008472/0.0008472, allocations: 75.89 kB / 0.6196 GB, free: 13.04 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.5451/0.546, allocations: 101.9 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001932/0.5479, allocations: 0.8422 MB / 0.72 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000926/0.5488, allocations: 0.8978 MB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.5489, allocations: 1.469 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.549, allocations: 17.05 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.5491, allocations: 32.11 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.5493, allocations: 42.56 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.5494, allocations: 135.3 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.5496, allocations: 43.64 kB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.5497, allocations: 85.45 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.5498, allocations: 77.89 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.5499, allocations: 13 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.911e-05/0.5499, allocations: 12.41 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.5499, allocations: 49.36 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.55, allocations: 55.59 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.5502, allocations: 173.6 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.5502, allocations: 5.766 kB / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5502, allocations: 0 / 0.7216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.5502, allocations: 0 / 0.7216 GB, free: 22.1 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.0006348/0.5509, allocations: 445.8 kB / 0.722 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5509, allocations: 9.969 kB / 0.722 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.5509, allocations: 20.45 kB / 0.722 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5511, allocations: 157.6 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.5511, allocations: 4 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.5511, allocations: 10.05 kB / 0.7222 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.5515, allocations: 185.2 kB / 0.7224 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5515, allocations: 4.125 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5515, allocations: 6.891 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.5515, allocations: 1.094 kB / 0.7224 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.552, allocations: 220.6 kB / 0.7226 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.5526, allocations: 438.5 kB / 0.723 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.5529, allocations: 141.1 kB / 0.7231 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.5531, allocations: 114.1 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5531, allocations: 1.188 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.5531, allocations: 41.95 kB / 0.7233 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.5531, allocations: 3.984 kB / 0.7233 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0007288/0.5539, allocations: 362.4 kB / 0.7236 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5539, allocations: 53.48 kB / 0.7237 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.554, allocations: 177 kB / 0.7239 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.554, allocations: 31.31 kB / 0.7239 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.5541, allocations: 125.1 kB / 0.724 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.5541, allocations: 30.05 kB / 0.724 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.5541, allocations: 25.78 kB / 0.7241 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.5542, allocations: 327.3 kB / 0.7244 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.5544, allocations: 100.8 kB / 0.7245 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.5546, allocations: 106.5 kB / 0.7246 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.555, allocations: 217.7 kB / 0.7248 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.555, allocations: 1.406 kB / 0.7248 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004465/0.5555, allocations: 265.6 kB / 0.725 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.5555, allocations: 8 kB / 0.725 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5555, allocations: 0.7969 kB / 0.725 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5555, allocations: 5.25 kB / 0.725 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5556, allocations: 45.84 kB / 0.7251 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5557, allocations: 0 / 0.7251 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.5558, allocations: 39.58 kB / 0.7251 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.5558, allocations: 1.828 kB / 0.7251 GB, free: 20.09 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.89e-05/0.5558, allocations: 129.3 kB / 0.7253 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.5559, allocations: 13.59 kB / 0.7253 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.5559, allocations: 24.89 kB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5559, allocations: 1.031 kB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5559, allocations: 0.6562 kB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5559, allocations: 5.969 kB / 0.7253 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.556, allocations: 176.8 kB / 0.7255 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.556, allocations: 4 kB / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.5562, allocations: 46.7 kB / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.5562, allocations: 1.125 kB / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5562, allocations: 0 / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5562, allocations: 1.625 kB / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5562, allocations: 0 / 0.7255 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/0.5567, allocations: 363.2 kB / 0.7259 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.5567, allocations: 16.73 kB / 0.7259 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.5567, allocations: 2.312 kB / 0.7259 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5568, allocations: 34.86 kB / 0.7259 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.5569, allocations: 16.69 kB / 0.7259 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.5569, allocations: 2.578 kB / 0.7259 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.557, allocations: 134.7 kB / 0.7261 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.557, allocations: 192 / 0.7261 GB, free: 19.47 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001701/0.5571, allocations: 34.08 kB / 0.7261 GB, free: 19.46 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 0.0001085/0.5572, allocations: 97.88 kB / 0.7262 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.5577, allocations: 225.9 kB / 0.7264 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.5577, allocations: 0 / 0.7264 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.558, allocations: 116.7 kB / 0.7265 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.5582, allocations: 22.44 kB / 0.7265 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.5587, allocations: 316.6 kB / 0.7268 GB, free: 19.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.5588, allocations: 116 kB / 0.7269 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.964e-05/0.5588, allocations: 20.75 kB / 0.727 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.222e-05/0.5589, allocations: 14.16 kB / 0.727 GB, free: 19 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.5589, allocations: 4 kB / 0.727 GB, free: 19 MB / 0.6355 GB Notification: Performance of Templates: time 0.004286/0.5632, allocations: 2.05 MB / 0.729 GB, free: 18.78 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.414094918058254] Failed to read output from testmodel.py, exit status != 0: 0.5689745499985293 0.5831977460000001 0.029661202 Calling exit ...