Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001258/0.001258, allocations: 78.56 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002231/0.002231, allocations: 165.1 kB / 22.46 MB, free: 5.367 MB / 14.72 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.43/1.43, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.145/1.145, allocations: 154.7 MB / 413.9 MB, free: 5.133 MB / 382.1 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 178] 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 0.6188 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.588e-05/2.814e-05, allocations: 9.281 kB / 0.6188 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001672/0.0017, allocations: 0.5659 MB / 0.6193 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 4.284e-05/0.001743, allocations: 0 / 0.6193 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.00178, allocations: 0 / 0.6193 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.001804, allocations: 3.938 kB / 0.6194 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.541e-05/0.001839, allocations: 4 kB / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.828e-05/0.001877, allocations: 0 / 0.6194 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.001948, allocations: 12 kB / 0.6194 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.826e-05/0.002006, allocations: 3.938 kB / 0.6194 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.002036, allocations: 0 / 0.6194 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.715e-05/0.002063, allocations: 0 / 0.6194 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.002081, allocations: 7.938 kB / 0.6194 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-06/0.002086, allocations: 0 / 0.6194 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.002099, allocations: 0 / 0.6194 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.002124, allocations: 0 / 0.6194 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.002186, allocations: 7.969 kB / 0.6194 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002188, allocations: 4 kB / 0.6194 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002189, allocations: 0 / 0.6194 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.002194, allocations: 0 / 0.6194 GB, free: 3.902 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003424/0.002536, allocations: 242.4 kB / 0.6196 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.002579, allocations: 12.03 kB / 0.6196 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.002608, allocations: 4.922 kB / 0.6196 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.002734, allocations: 101.8 kB / 0.6197 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.002748, allocations: 384 / 0.6197 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-06/0.002756, allocations: 8.312 kB / 0.6197 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.844e-05/0.002844, allocations: 26.27 kB / 0.6198 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.002854, allocations: 4.188 kB / 0.6198 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.002862, allocations: 384 / 0.6198 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.002871, allocations: 384 / 0.6198 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.002891, allocations: 7.938 kB / 0.6198 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.003218, allocations: 331.2 kB / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.003331, allocations: 169.1 kB / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.003383, allocations: 88.14 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.003424, allocations: 83.25 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.375e-05/0.003488, allocations: 105.8 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.003488, allocations: 0 / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 9.904e-05/0.003587, allocations: 33.64 kB / 0.6206 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.003665, allocations: 134.6 kB / 0.6207 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.003795, allocations: 89.86 kB / 0.6208 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.003811, allocations: 25.7 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.00386, allocations: 84.12 kB / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-06/0.003861, allocations: 0 / 0.6209 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.526e-05/0.003887, allocations: 17.72 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.004028, allocations: 310.8 kB / 0.6212 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-06/0.004033, allocations: 0 / 0.6212 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-06/0.004037, allocations: 0 / 0.6212 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.117e-05/0.004078, allocations: 75.41 kB / 0.6213 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-05/0.004113, allocations: 79.28 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.281e-05/0.004166, allocations: 29.7 kB / 0.6214 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.004219, allocations: 79.28 kB / 0.6214 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.376e-05/0.004263, allocations: 87.16 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.047e-05/0.004343, allocations: 150.6 kB / 0.6217 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/0.004382, allocations: 83.2 kB / 0.6217 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-05/0.004452, allocations: 162.5 kB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.004527, allocations: 75.28 kB / 0.622 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.004558, allocations: 79.22 kB / 0.622 GB, free: 0.9961 MB / 0.5294 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 (0): * Single equations (assignments): 0 * 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 0.000129/0.004687, allocations: 265.4 kB / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.00476, allocations: 105.2 kB / 0.6224 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.594e-05/0.004816, allocations: 115.8 kB / 0.6225 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.036e-05/0.004897, allocations: 188.3 kB / 0.6227 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.79e-05/0.004974, allocations: 176.3 kB / 0.6229 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.632e-05/0.005061, allocations: 184.2 kB / 0.623 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.005275, allocations: 352.9 kB / 0.6234 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.862e-05/0.005324, allocations: 104.9 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.005369, allocations: 109 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.516e-05/0.005445, allocations: 176.3 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.451e-05/0.005539, allocations: 180.2 kB / 0.6239 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.425e-05/0.005613, allocations: 192.2 kB / 0.6241 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.717e-05/0.00569, allocations: 180.2 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.005844, allocations: 307.7 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.005896, allocations: 105 kB / 0.6247 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.412e-05/0.00598, allocations: 180.2 kB / 0.6248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.006065, allocations: 112.9 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.706e-05/0.006152, allocations: 180.3 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.006197, allocations: 104.9 kB / 0.6252 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.731e-05/0.006245, allocations: 79.28 kB / 0.6253 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.006245, allocations: 0 / 0.6253 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.006482, allocations: 8.094 kB / 0.6253 GB, free: 13.48 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0001386/0.006621, allocations: 170.5 kB / 0.6255 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 4.899e-05/0.00667, allocations: 0 / 0.6255 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.006672, allocations: 0 / 0.6255 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-06/0.006675, allocations: 4 kB / 0.6255 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.007086, allocations: 453.7 kB / 0.6259 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.007384, allocations: 168 kB / 0.6261 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.862e-05/0.007443, allocations: 55.34 kB / 0.6261 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.525e-06/0.007445, allocations: 4 kB / 0.6261 GB, free: 12.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.007464, allocations: 12.5 kB / 0.6261 GB, free: 12.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.007464, allocations: 0 / 0.6261 GB, free: 12.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002473/0.009937, allocations: 145 kB / 0.6263 GB, free: 12.43 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.58128672465682] Failed to read output from testmodel.py, exit status != 0: 0.018440695479512215 0.032096903 0.027097565 Calling exit ...