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.0009901/0.0009902, allocations: 88.52 kB / 16.31 MB, free: 5.516 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.001197/0.001197, allocations: 182.1 kB / 17.21 MB, free: 5.453 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.662/1.662, allocations: 205.4 MB / 223.4 MB, free: 13.12 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3462/0.3462, allocations: 48.78 MB / 320.4 MB, free: 11.22 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.0005545/0.0005545, allocations: 15.11 kB / 391.2 MB, free: 50.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 60.27 MB / 451.4 MB, free: 9.547 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186: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:186:5-186: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.0779/0.2138, allocations: 80.59 MB / 0.5195 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.217, allocations: 1.051 MB / 0.5206 GB, free: 7.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006967/0.2177, allocations: 27.75 kB / 0.5206 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.2185, allocations: 230.1 kB / 0.5208 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.2196, allocations: 0.5005 MB / 0.5213 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01279/0.2324, allocations: 3.489 MB / 0.5247 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.2351, allocations: 1.545 MB / 0.5262 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005275/0.2356, allocations: 334 kB / 0.5265 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000598/0.2362, allocations: 386.3 kB / 0.5269 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004915/0.2367, allocations: 394 kB / 0.5273 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.166e-05/0.2368, allocations: 16 kB / 0.5273 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3372/0.574, allocations: 3.83 MB / 0.531 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.5744, allocations: 81.64 kB / 0.5311 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.5749, allocations: 168.5 kB / 0.5313 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00703/0.582, allocations: 1.975 MB / 0.5332 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.128e-06/0.582, allocations: 2.125 kB / 0.5332 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.582, allocations: 1.094 kB / 0.5332 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.582, allocations: 0 / 0.5332 GB, free: 15.92 MB / 414.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.005028/0.5871, allocations: 1.165 MB / 0.5343 GB, free: 15.19 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.5871, allocations: 8.906 kB / 0.5344 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.5873, allocations: 88.22 kB / 0.5344 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008681/0.5882, allocations: 462.1 kB / 0.5349 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.5883, allocations: 43.81 kB / 0.5349 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.5884, allocations: 45 kB / 0.535 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5894, allocations: 0.5999 MB / 0.5355 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.5895, allocations: 9.812 kB / 0.5356 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.5895, allocations: 22.69 kB / 0.5356 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.5896, allocations: 14.7 kB / 0.5356 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.59, allocations: 249.8 kB / 0.5358 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0071/0.5971, allocations: 7.078 MB / 0.5427 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.5973, allocations: 171.6 kB / 0.5429 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.5974, allocations: 82.03 kB / 0.543 GB, free: 23.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.5974, allocations: 78.22 kB / 0.5431 GB, free: 23.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.5975, allocations: 114.8 kB / 0.5432 GB, free: 23.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.384e-06/0.5975, allocations: 0 / 0.5432 GB, free: 23.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002728/0.5978, allocations: 108.6 kB / 0.5433 GB, free: 23.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.5979, allocations: 126.7 kB / 0.5434 GB, free: 23.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.5993, allocations: 0.7674 MB / 0.5441 GB, free: 23.13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5994, allocations: 25.7 kB / 0.5442 GB, free: 23.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.5998, allocations: 390.2 kB / 0.5445 GB, free: 22.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.5998, allocations: 5.219 kB / 0.5445 GB, free: 22.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.5999, allocations: 1.438 kB / 0.5445 GB, free: 22.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6, allocations: 317.5 kB / 0.5449 GB, free: 22.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.597e-05/0.6001, allocations: 18.55 kB / 0.5449 GB, free: 22.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.6002, allocations: 91.59 kB / 0.545 GB, free: 22.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.301e-05/0.6003, allocations: 27.66 kB / 0.545 GB, free: 22.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.6003, allocations: 5 kB / 0.545 GB, free: 22.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004812/0.6008, allocations: 199.7 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.6008, allocations: 5.75 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.6008, allocations: 2.938 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6009, allocations: 3.594 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.601, allocations: 32.23 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.601, allocations: 4.094 kB / 0.5452 GB, free: 22.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.6014, allocations: 47.31 kB / 0.5453 GB, free: 22.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.6015, allocations: 10.22 kB / 0.5453 GB, free: 22.45 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.6018, allocations: 239.8 kB / 0.5455 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.602, allocations: 184.9 kB / 0.5457 GB, free: 22.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.6021, allocations: 168.8 kB / 0.5458 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.451e-05/0.6022, allocations: 185.9 kB / 0.546 GB, free: 21.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.65e-05/0.6023, allocations: 178.9 kB / 0.5462 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.937e-05/0.6024, allocations: 183.8 kB / 0.5464 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.6031, allocations: 0.6424 MB / 0.547 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.6031, allocations: 105.3 kB / 0.5471 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/0.6032, allocations: 108.8 kB / 0.5472 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.465e-05/0.6032, allocations: 184.2 kB / 0.5474 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.6033, allocations: 180.5 kB / 0.5475 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.706e-05/0.6034, allocations: 184.7 kB / 0.5477 GB, free: 20.25 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.095e-05/0.6035, allocations: 180.3 kB / 0.5479 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.6037, allocations: 388 kB / 0.5483 GB, free: 19.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.6039, allocations: 260 kB / 0.5485 GB, free: 19.47 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.6041, allocations: 182 kB / 0.5487 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.6043, allocations: 101 kB / 0.5488 GB, free: 19.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.6043, allocations: 182.1 kB / 0.549 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.6044, allocations: 111.4 kB / 0.5491 GB, free: 18.89 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006987/0.6051, allocations: 0.5204 MB / 0.5496 GB, free: 18.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6051, allocations: 1.406 kB / 0.5496 GB, free: 18.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005973/0.6111, allocations: 0.7377 MB / 0.5503 GB, free: 18.68 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006384/0.6175, allocations: 0.9714 MB / 0.5512 GB, free: 18.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.6178, allocations: 50.59 kB / 0.5513 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6178, allocations: 0 / 0.5513 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.6178, allocations: 1.125 kB / 0.5513 GB, free: 18.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/0.6205, allocations: 0.9551 MB / 0.5522 GB, free: 17.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.622, allocations: 1.065 MB / 0.5533 GB, free: 17.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.6225, allocations: 0.8797 MB / 0.5541 GB, free: 16.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.6229, allocations: 124.7 kB / 0.5542 GB, free: 16.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.623, allocations: 50.19 kB / 0.5543 GB, free: 16.47 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.623, allocations: 3.938 kB / 0.5543 GB, free: 16.46 MB / 430.1 MB Notification: Performance of Templates: time 0.04287/0.6659, allocations: 25.99 MB / 0.5797 GB, free: 7.539 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: