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.001519/0.001519, allocations: 88.72 kB / 19.44 MB, free: 356 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.00177/0.00177, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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-545:108: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-545:116: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.249/1.249, allocations: 154.6 MB / 414.1 MB, free: 0.6484 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 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.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: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 0.5197 GB, free: 2.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.861e-05, allocations: 3.531 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002359/0.002398, allocations: 0.6874 MB / 0.5204 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003867, allocations: 0.816 MB / 0.5212 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.003915, allocations: 0 / 0.5212 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.003951, allocations: 3.938 kB / 0.5212 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.302e-05/0.004034, allocations: 9.5 kB / 0.5212 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.21e-05/0.004106, allocations: 15.97 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.946e-05/0.004205, allocations: 43.86 kB / 0.5212 GB, free: 0.918 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.00431, allocations: 7.984 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.004411, allocations: 29.25 kB / 0.5213 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.813e-05/0.004459, allocations: 15.92 kB / 0.5213 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.004481, allocations: 4 kB / 0.5213 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.004491, allocations: 4.625 kB / 0.5213 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.004514, allocations: 7.984 kB / 0.5213 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.004549, allocations: 12.69 kB / 0.5213 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.004665, allocations: 47.84 kB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.004667, allocations: 1.469 kB / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.004668, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004673, allocations: 0 / 0.5214 GB, free: 0.793 MB / 490.7 MB 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.0006136/0.005286, allocations: 279.4 kB / 0.5216 GB, free: 500 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.005334, allocations: 12.03 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.005385, allocations: 12.52 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.005524, allocations: 113.7 kB / 0.5218 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.00554, allocations: 4.375 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.00555, allocations: 384 / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.005872, allocations: 66.22 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.005882, allocations: 4.188 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.005893, allocations: 384 / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.005902, allocations: 4.359 kB / 0.5218 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.006225, allocations: 69.95 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.006683, allocations: 208.5 kB / 0.5221 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.006934, allocations: 63.94 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.007113, allocations: 37.52 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.007129, allocations: 0.6562 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.007167, allocations: 32.47 kB / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.007168, allocations: 0 / 0.5222 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0006658/0.007834, allocations: 136 kB / 0.5223 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.00789, allocations: 55.41 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.008021, allocations: 109.8 kB / 0.5225 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.008046, allocations: 25.7 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.008129, allocations: 92.03 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.008155, allocations: 10.7 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.008204, allocations: 17.7 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.008403, allocations: 314.8 kB / 0.5229 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.008564, allocations: 31.97 kB / 0.523 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.00873, allocations: 33.58 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.009028, allocations: 69.72 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00903, allocations: 0 / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003659/0.009396, allocations: 99.16 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.009418, allocations: 7.938 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.009425, allocations: 0.7188 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/0.009449, allocations: 2.844 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.009594, allocations: 15.98 kB / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.009602, allocations: 320 / 0.5232 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.009713, allocations: 23.92 kB / 0.5232 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.00972, allocations: 0 / 0.5232 GB, free: 14.73 MB / 0.4948 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 0.0001083/0.009828, allocations: 113.8 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.009856, allocations: 3.125 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.00989, allocations: 15.94 kB / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.009893, allocations: 0 / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.009897, allocations: 0 / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.009899, allocations: 0 / 0.5233 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.01007, allocations: 109.3 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01007, allocations: 0 / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01018, allocations: 19.91 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01018, allocations: 5.812 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01019, allocations: 0 / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.0102, allocations: 7.875 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.0102, allocations: 0 / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.01066, allocations: 199 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.01067, allocations: 4 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.01068, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.01081, allocations: 19.91 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.01086, allocations: 0 / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.01086, allocations: 3.656 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.01094, allocations: 95.25 kB / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01094, allocations: 0 / 0.5238 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002357/0.01117, allocations: 8 kB / 0.5238 GB, free: 14.09 MB / 0.4948 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 0.000144/0.01132, allocations: 91.25 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003772/0.01169, allocations: 70.64 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.0117, allocations: 0 / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.01186, allocations: 39.95 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.01221, allocations: 8 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.01264, allocations: 137 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.366e-05/0.01272, allocations: 69.58 kB / 0.5242 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.01276, allocations: 7.859 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.0128, allocations: 8.5 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.0128, allocations: 3.938 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.003789/0.01659, allocations: 0.7413 MB / 0.5249 GB, free: 12.91 MB / 0.4948 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.855140749015845]