Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.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.001046/0.001046, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001477/0.001477, allocations: 173 kB / 23.49 MB, free: 1.059 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.9958/0.9958, allocations: 177.1 MB / 203.8 MB, free: 5.637 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-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 0.7765/0.7765, allocations: 154.6 MB / 414.9 MB, free: 0.6562 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.5204 GB, free: 1.363 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.682e-05, allocations: 3.094 kB / 0.5204 GB, free: 1.359 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Line): time 0.00188/0.001907, allocations: 0.8526 MB / 0.5212 GB, free: 0.5273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.002898, allocations: 0.9365 MB / 0.5222 GB, free: 15.58 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.044e-05/0.002989, allocations: 4 kB / 0.5222 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.003032, allocations: 11.81 kB / 0.5222 GB, free: 15.56 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.003113, allocations: 11.81 kB / 0.5222 GB, free: 15.55 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.003325, allocations: 71.83 kB / 0.5223 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.003521, allocations: 136.7 kB / 0.5224 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.003664, allocations: 37.64 kB / 0.5224 GB, free: 15.31 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.003759, allocations: 77.08 kB / 0.5225 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.003816, allocations: 51.8 kB / 0.5225 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.003843, allocations: 12 kB / 0.5226 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.625e-05/0.003859, allocations: 16.62 kB / 0.5226 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.003886, allocations: 23.92 kB / 0.5226 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.003922, allocations: 37.58 kB / 0.5226 GB, free: 15.1 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.004065, allocations: 103.6 kB / 0.5227 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004068, allocations: 0 / 0.5227 GB, free: 15 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.00407, allocations: 0 / 0.5227 GB, free: 15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004074, allocations: 0 / 0.5227 GB, free: 15 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004484/0.004522, allocations: 457.5 kB / 0.5232 GB, free: 14.51 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.00456, allocations: 8.75 kB / 0.5232 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.004615, allocations: 28.84 kB / 0.5232 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.004805, allocations: 173.5 kB / 0.5234 GB, free: 14.28 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.004819, allocations: 13.03 kB / 0.5234 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.004839, allocations: 12.38 kB / 0.5234 GB, free: 14.26 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.005082, allocations: 212.6 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.005089, allocations: 1.312 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.005106, allocations: 8.375 kB / 0.5236 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.005114, allocations: 4.375 kB / 0.5236 GB, free: 14.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.005208, allocations: 68.58 kB / 0.5237 GB, free: 13.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.005715, allocations: 419.3 kB / 0.5241 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.005815, allocations: 59.05 kB / 0.5241 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.005853, allocations: 27.67 kB / 0.5242 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.005875, allocations: 4 kB / 0.5242 GB, free: 13.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.0059, allocations: 45.52 kB / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.005901, allocations: 0 / 0.5242 GB, free: 13.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002156/0.006117, allocations: 97.78 kB / 0.5243 GB, free: 13.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.006144, allocations: 51.41 kB / 0.5243 GB, free: 13.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.006257, allocations: 198.6 kB / 0.5245 GB, free: 12.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.006269, allocations: 25.7 kB / 0.5246 GB, free: 12.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/0.006341, allocations: 174.5 kB / 0.5247 GB, free: 12.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.00636, allocations: 32.31 kB / 0.5248 GB, free: 12.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.006399, allocations: 32.3 kB / 0.5248 GB, free: 12.69 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.006516, allocations: 0.4923 MB / 0.5253 GB, free: 12.19 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.281e-05/0.006549, allocations: 12 kB / 0.5253 GB, free: 12.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.006582, allocations: 17.58 kB / 0.5253 GB, free: 12.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.00665, allocations: 45.81 kB / 0.5253 GB, free: 12.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006653, allocations: 0 / 0.5253 GB, free: 12.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00015/0.006802, allocations: 105.5 kB / 0.5254 GB, free: 12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.006817, allocations: 4.969 kB / 0.5254 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.006823, allocations: 3.938 kB / 0.5254 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.00684, allocations: 6 kB / 0.5255 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.006958, allocations: 19.98 kB / 0.5255 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006964, allocations: 0 / 0.5255 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.007001, allocations: 8 kB / 0.5255 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.007009, allocations: 4 kB / 0.5255 GB, free: 11.96 MB / 458.7 MB 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 (13): * Single equations (assignments): 13 * 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 7.798e-05/0.007087, allocations: 173.1 kB / 0.5257 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.00711, allocations: 12.59 kB / 0.5257 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.007261, allocations: 102.3 kB / 0.5258 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007264, allocations: 4.625 kB / 0.5258 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.007267, allocations: 0 / 0.5258 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.007271, allocations: 4.641 kB / 0.5258 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.007558, allocations: 390 kB / 0.5261 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.00756, allocations: 0 / 0.5261 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.007616, allocations: 27.92 kB / 0.5262 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007618, allocations: 2.75 kB / 0.5262 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.007628, allocations: 4 kB / 0.5262 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.00763, allocations: 0 / 0.5262 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.007632, allocations: 0 / 0.5262 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.007784, allocations: 270.8 kB / 0.5264 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.319e-05/0.007797, allocations: 7.953 kB / 0.5264 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.007815, allocations: 8 kB / 0.5264 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.007873, allocations: 10.02 kB / 0.5265 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.007911, allocations: 7.984 kB / 0.5265 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.00792, allocations: 12 kB / 0.5265 GB, free: 10.85 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.007977, allocations: 146 kB / 0.5266 GB, free: 10.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007977, allocations: 0 / 0.5266 GB, free: 10.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001614/0.008139, allocations: 32.83 kB / 0.5266 GB, free: 10.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001075/0.008246, allocations: 95.91 kB / 0.5267 GB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.008381, allocations: 70.72 kB / 0.5268 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008384, allocations: 0.6562 kB / 0.5268 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.008423, allocations: 34.86 kB / 0.5268 GB, free: 10.47 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.008645, allocations: 15.94 kB / 0.5269 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.009082, allocations: 254.4 kB / 0.5271 GB, free: 10.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.009122, allocations: 63.97 kB / 0.5272 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.009157, allocations: 23.45 kB / 0.5272 GB, free: 10.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.009193, allocations: 12.5 kB / 0.5272 GB, free: 10.05 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009193, allocations: 0 / 0.5272 GB, free: 10.05 MB / 458.7 MB Notification: Performance of Templates: time 0.002663/0.01186, allocations: 0.9863 MB / 0.5282 GB, free: 9.125 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6974601480178535]