Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008443/0.0008443, allocations: 80.45 kB / 19.9 MB, free: 12 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.0008558/0.0008558, allocations: 165.9 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.9142/0.9142, 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.7306/0.7306, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.001413/0.001413, allocations: 67.91 kB / 0.6196 GB, free: 13.07 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.5356/0.537, allocations: 101.9 MB / 0.7192 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001529/0.5386, allocations: 0.6847 MB / 0.7198 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000848/0.5394, allocations: 0.8358 MB / 0.7207 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.5395, allocations: 0 / 0.7207 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.5395, allocations: 5.062 kB / 0.7207 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.5396, allocations: 5.656 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 7.618e-05/0.5396, allocations: 14.95 kB / 0.7207 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.172e-05/0.5397, allocations: 46 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.5399, allocations: 9.859 kB / 0.7207 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.5399, allocations: 29.09 kB / 0.7208 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.577e-05/0.54, allocations: 17.61 kB / 0.7208 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.54, allocations: 3.5 kB / 0.7208 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.54, allocations: 4.531 kB / 0.7208 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.54, allocations: 10.95 kB / 0.7208 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.5401, allocations: 17.77 kB / 0.7208 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.5402, allocations: 38.16 kB / 0.7208 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5402, allocations: 4 kB / 0.7208 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5402, allocations: 1.125 kB / 0.7209 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.5402, allocations: 0 / 0.7209 GB, free: 22.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004157/0.5406, allocations: 288.7 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.5407, allocations: 8.5 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.5407, allocations: 7.906 kB / 0.7211 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.5408, allocations: 114.9 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5408, allocations: 2.531 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.5408, allocations: 1.5 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.541, allocations: 72.75 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.541, allocations: 192 / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.541, allocations: 4.844 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.541, allocations: 4.719 kB / 0.7213 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.5412, allocations: 62.06 kB / 0.7214 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.5415, allocations: 212.1 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.5416, allocations: 62.34 kB / 0.7217 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.5417, allocations: 42.97 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.5417, allocations: 1.125 kB / 0.7217 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.5418, allocations: 36.31 kB / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5418, allocations: 0 / 0.7217 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003716/0.5421, allocations: 131.9 kB / 0.7219 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.5422, allocations: 53.77 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.5422, allocations: 111.3 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.5422, allocations: 25.7 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.5423, allocations: 88.64 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.5423, allocations: 12.59 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.5423, allocations: 17.28 kB / 0.7222 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.815e-05/0.5423, allocations: 319.5 kB / 0.7225 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.424e-05/0.5424, allocations: 30.41 kB / 0.7225 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.5425, allocations: 34.66 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5427, allocations: 67.75 kB / 0.7226 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5427, allocations: 8 kB / 0.7226 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002008/0.5429, allocations: 101.4 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.5429, allocations: 5.438 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5429, allocations: 1.062 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.5429, allocations: 0 / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.543, allocations: 15.2 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.543, allocations: 5.953 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.5431, allocations: 10.59 kB / 0.7227 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.5431, allocations: 5.094 kB / 0.7227 GB, free: 20.97 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 (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 4.598e-05/0.5431, allocations: 114.4 kB / 0.7228 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.5431, allocations: 9.656 kB / 0.7228 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.5432, allocations: 11.09 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5432, allocations: 0.7031 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.5432, allocations: 0 / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5432, allocations: 1.219 kB / 0.7229 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.659e-05/0.5433, allocations: 108.1 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5433, allocations: 4 kB / 0.723 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.5433, allocations: 19.59 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.5433, allocations: 1.188 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.5433, allocations: 0 / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5433, allocations: 5.656 kB / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5433, allocations: 0 / 0.723 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.5435, allocations: 198.5 kB / 0.7232 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.5435, allocations: 14.97 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.5436, allocations: 2.016 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.5436, allocations: 11.14 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.5437, allocations: 6.969 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.5437, allocations: 1.219 kB / 0.7232 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.5437, allocations: 83.94 kB / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5437, allocations: 0 / 0.7233 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000144/0.5438, allocations: 10.47 kB / 0.7233 GB, free: 20.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 (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 9.944e-05/0.5439, allocations: 97.72 kB / 0.7234 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.5442, allocations: 69.7 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5442, allocations: 0 / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.5442, allocations: 33.53 kB / 0.7235 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.5445, allocations: 12.34 kB / 0.7235 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.5448, allocations: 128.4 kB / 0.7236 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.5448, allocations: 63.98 kB / 0.7237 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.5448, allocations: 2.234 kB / 0.7237 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.5449, allocations: 11.03 kB / 0.7237 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.5449, allocations: 0 / 0.7237 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.002484/0.5473, allocations: 0.7276 MB / 0.7244 GB, free: 20.05 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.244150243001059] Failed to read output from testmodel.py, exit status != 0: 0.554864696925506 0.563430063 0.021162656000000002 Calling exit ...