Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.0008016/0.0008016, 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.0008042/0.0008042, allocations: 169.8 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.9067/0.9067, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7288/0.7288, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [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.000897/0.000897, allocations: 71.86 kB / 0.6199 GB, free: 11.64 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4686/0.4695, allocations: 102 MB / 0.7195 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001579/0.4711, allocations: 0.689 MB / 0.7202 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.4719, allocations: 0.8305 MB / 0.721 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.4719, allocations: 4 kB / 0.721 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.4719, allocations: 3.938 kB / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.472, allocations: 7.922 kB / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.964e-05/0.4721, allocations: 15.98 kB / 0.721 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.4721, allocations: 39.86 kB / 0.721 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4723, allocations: 15.98 kB / 0.7211 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.86e-05/0.4723, allocations: 23.92 kB / 0.7211 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.204e-05/0.4724, allocations: 23.91 kB / 0.7211 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4724, allocations: 4 kB / 0.7211 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-06/0.4724, allocations: 4 kB / 0.7211 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.4724, allocations: 11.98 kB / 0.7211 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.4724, allocations: 11.94 kB / 0.7211 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.4725, allocations: 42.06 kB / 0.7212 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4725, allocations: 0 / 0.7212 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4725, allocations: 0 / 0.7212 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.4725, allocations: 0 / 0.7212 GB, free: 11.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003808/0.4729, allocations: 290.2 kB / 0.7215 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.473, allocations: 13.47 kB / 0.7215 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.473, allocations: 4.891 kB / 0.7215 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.4731, allocations: 118.4 kB / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.4731, allocations: 384 / 0.7216 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.4731, allocations: 4.375 kB / 0.7216 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4733, allocations: 70.2 kB / 0.7217 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.4733, allocations: 192 / 0.7217 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4733, allocations: 3.938 kB / 0.7217 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4733, allocations: 4 kB / 0.7217 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.4734, allocations: 59.94 kB / 0.7217 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.4737, allocations: 220.5 kB / 0.7219 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4738, allocations: 54.48 kB / 0.722 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.505e-05/0.4739, allocations: 48.84 kB / 0.722 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.4739, allocations: 0 / 0.722 GB, free: 10.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4739, allocations: 34.56 kB / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.4739, allocations: 0 / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003153/0.4743, allocations: 129.5 kB / 0.7222 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.4743, allocations: 55.41 kB / 0.7222 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.4744, allocations: 113.8 kB / 0.7224 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4744, allocations: 25.7 kB / 0.7224 GB, free: 10.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.4744, allocations: 80.14 kB / 0.7225 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4745, allocations: 11.91 kB / 0.7225 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.4745, allocations: 13.72 kB / 0.7225 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.4746, allocations: 326.8 kB / 0.7228 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.4747, allocations: 27.97 kB / 0.7228 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.4747, allocations: 36.14 kB / 0.7228 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4749, allocations: 68.88 kB / 0.7229 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4749, allocations: 0 / 0.7229 GB, free: 9.664 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001695/0.475, allocations: 109.5 kB / 0.723 GB, free: 9.551 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.475, allocations: 4 kB / 0.723 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.475, allocations: 4 kB / 0.723 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4751, allocations: 4 kB / 0.723 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.4751, allocations: 11.98 kB / 0.723 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4752, allocations: 0 / 0.723 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.4752, allocations: 11.98 kB / 0.7231 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.4752, allocations: 0 / 0.7231 GB, free: 9.516 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.164e-05/0.4753, allocations: 121.6 kB / 0.7232 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.4753, allocations: 15.88 kB / 0.7232 GB, free: 9.375 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.4753, allocations: 8 kB / 0.7232 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4753, allocations: 0 / 0.7232 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.4753, allocations: 0 / 0.7232 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4753, allocations: 0 / 0.7232 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.4754, allocations: 113.3 kB / 0.7233 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4754, allocations: 0 / 0.7233 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.4754, allocations: 15.92 kB / 0.7233 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4754, allocations: 4 kB / 0.7233 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4754, allocations: 0 / 0.7233 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.4754, allocations: 4 kB / 0.7233 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4754, allocations: 0 / 0.7233 GB, free: 9.199 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.4756, allocations: 191.4 kB / 0.7235 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.4756, allocations: 15.89 kB / 0.7235 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.4757, allocations: 0 / 0.7235 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.885e-05/0.4757, allocations: 15.92 kB / 0.7235 GB, free: 8.965 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.4757, allocations: 3.984 kB / 0.7235 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4757, allocations: 4 kB / 0.7235 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.4758, allocations: 91.27 kB / 0.7236 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4758, allocations: 0 / 0.7236 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001352/0.4759, allocations: 8 kB / 0.7236 GB, free: 8.859 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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 7.934e-05/0.476, allocations: 91.25 kB / 0.7237 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.4762, allocations: 75.8 kB / 0.7238 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4762, allocations: 0 / 0.7238 GB, free: 8.688 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.4763, allocations: 31.97 kB / 0.7238 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4765, allocations: 11.98 kB / 0.7238 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.4767, allocations: 133.2 kB / 0.724 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.4768, allocations: 63.34 kB / 0.724 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.4768, allocations: 8 kB / 0.724 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.4768, allocations: 8.5 kB / 0.724 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.4768, allocations: 0 / 0.724 GB, free: 8.387 MB / 0.6042 GB Notification: Performance of Templates: time 0.001965/0.4788, allocations: 0.7398 MB / 0.7248 GB, free: 7.668 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.128214352065697] Failed to read output from testmodel.py, exit status != 0: 0.4843774010660127 0.493384379 0.019056576000000002 Calling exit ...