Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107.1 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 191 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2844/0.2844, allocations: 48.84 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 64.38 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1125, allocations: 59.17 MB / 0.4978 GB, free: 13.25 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:297:5-297:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:297:5-297:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.3463/0.4589, allocations: 105.8 MB / 0.6011 GB, free: 228 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.4618, allocations: 0.9354 MB / 0.602 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.463, allocations: 19.81 kB / 0.602 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.4641, allocations: 301.5 kB / 0.6023 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009883/0.4651, allocations: 457 kB / 0.6028 GB, free: 14.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.012/0.4771, allocations: 4.512 MB / 0.6072 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.479, allocations: 1.319 MB / 0.6085 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008439/0.4798, allocations: 470.8 kB / 0.6089 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.4807, allocations: 462.2 kB / 0.6094 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.4814, allocations: 429.8 kB / 0.6098 GB, free: 7.316 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.694e-05/0.4815, allocations: 36 kB / 0.6098 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009185/0.4907, allocations: 4.409 MB / 0.6141 GB, free: 2.867 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.4909, allocations: 107.4 kB / 0.6142 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.4914, allocations: 358 kB / 0.6145 GB, free: 2.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007162/0.4986, allocations: 3.095 MB / 0.6176 GB, free: 15.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4986, allocations: 0 / 0.6176 GB, free: 15.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4986, allocations: 0 / 0.6176 GB, free: 15.31 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.4987, allocations: 0 / 0.6176 GB, free: 15.31 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003145/0.5018, allocations: 1.285 MB / 0.6188 GB, free: 13.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5019, allocations: 15.89 kB / 0.6188 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.5021, allocations: 87.91 kB / 0.6189 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.5029, allocations: 495.4 kB / 0.6194 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.503, allocations: 37.38 kB / 0.6194 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.5031, allocations: 51.94 kB / 0.6195 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.5039, allocations: 0.6023 MB / 0.6201 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.5039, allocations: 7.938 kB / 0.6201 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.504, allocations: 24 kB / 0.6201 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.504, allocations: 16 kB / 0.6201 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.5044, allocations: 259.3 kB / 0.6204 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.5093, allocations: 7.082 MB / 0.6273 GB, free: 4.367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.216e-05/0.5094, allocations: 165.1 kB / 0.6274 GB, free: 4.195 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.5094, allocations: 88.11 kB / 0.6275 GB, free: 4.105 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5094, allocations: 75.28 kB / 0.6276 GB, free: 4.031 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.5095, allocations: 109.8 kB / 0.6277 GB, free: 3.914 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.5095, allocations: 4 kB / 0.6277 GB, free: 3.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001821/0.5097, allocations: 112.6 kB / 0.6278 GB, free: 3.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.5098, allocations: 134.7 kB / 0.6279 GB, free: 3.648 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009541/0.5107, allocations: 0.7647 MB / 0.6287 GB, free: 2.859 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.5107, allocations: 25.7 kB / 0.6287 GB, free: 2.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.511, allocations: 391.1 kB / 0.6291 GB, free: 2.441 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-06/0.5111, allocations: 0 / 0.6291 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.5111, allocations: 37.61 kB / 0.6291 GB, free: 2.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5112, allocations: 321.9 kB / 0.6294 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-05/0.5113, allocations: 12 kB / 0.6294 GB, free: 2.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.304e-05/0.5114, allocations: 86.23 kB / 0.6295 GB, free: 1.945 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.5115, allocations: 118.2 kB / 0.6296 GB, free: 1.793 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.5115, allocations: 3.938 kB / 0.6296 GB, free: 1.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003694/0.5119, allocations: 204.6 kB / 0.6298 GB, free: 1.582 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5119, allocations: 7.906 kB / 0.6298 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.5119, allocations: 4 kB / 0.6298 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.512, allocations: 4 kB / 0.6298 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5121, allocations: 23.98 kB / 0.6299 GB, free: 1.543 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5121, allocations: 4 kB / 0.6299 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.5123, allocations: 55.22 kB / 0.6299 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.5123, allocations: 8 kB / 0.6299 GB, free: 1.477 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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.0001864/0.5125, allocations: 241.2 kB / 0.6302 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.5127, allocations: 184 kB / 0.6303 GB, free: 1.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.5128, allocations: 167.7 kB / 0.6305 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.486e-05/0.5129, allocations: 176.3 kB / 0.6307 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-05/0.5129, allocations: 184.2 kB / 0.6308 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.749e-05/0.513, allocations: 184.2 kB / 0.631 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.5135, allocations: 0.6494 MB / 0.6316 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.5135, allocations: 101 kB / 0.6317 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.5136, allocations: 109 kB / 0.6318 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-05/0.5137, allocations: 188.2 kB / 0.632 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.668e-05/0.5137, allocations: 180.2 kB / 0.6322 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.821e-05/0.5138, allocations: 184.2 kB / 0.6324 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.707e-05/0.5139, allocations: 180.5 kB / 0.6325 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.5141, allocations: 390.8 kB / 0.6329 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.5143, allocations: 245.1 kB / 0.6332 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.5145, allocations: 192.2 kB / 0.6333 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.5147, allocations: 101 kB / 0.6334 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.5147, allocations: 176.3 kB / 0.6336 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5148, allocations: 108.9 kB / 0.6337 GB, free: 13.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006556/0.5155, allocations: 0.531 MB / 0.6342 GB, free: 12.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5155, allocations: 0 / 0.6342 GB, free: 12.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002018/0.5175, allocations: 0.7493 MB / 0.635 GB, free: 12.09 MB / 494.1 MB 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.003821/0.5213, allocations: 0.9897 MB / 0.6359 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5215, allocations: 43.97 kB / 0.636 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5216, allocations: 0 / 0.636 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.57e-06/0.5216, allocations: 4 kB / 0.636 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.5242, allocations: 0.8894 MB / 0.6368 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5257, allocations: 0.9375 MB / 0.6378 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.5262, allocations: 0.882 MB / 0.6386 GB, free: 8.266 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.5265, allocations: 125.5 kB / 0.6387 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.5266, allocations: 59.42 kB / 0.6388 GB, free: 8.082 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.5266, allocations: 0 / 0.6388 GB, free: 8.082 MB / 494.1 MB Notification: Performance of Templates: time 0.03993/0.5666, allocations: 26.44 MB / 0.6646 GB, free: 13.59 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)