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.00128/0.00128, allocations: 108.3 kB / 17.68 MB, free: 5.332 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.001307/0.001307, allocations: 192 kB / 18.62 MB, free: 4.41 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.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2786/0.2786, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001426/0.001426, allocations: 69.67 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 59.16 MB / 450.7 MB, free: 9.055 MB / 334.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.4934/0.6065, allocations: 105.6 MB / 0.5432 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.6089, allocations: 0.9266 MB / 0.5441 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.6092, allocations: 25.06 kB / 0.5442 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.6099, allocations: 299.4 kB / 0.5445 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000688/0.6106, allocations: 439.1 kB / 0.5449 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.6222, allocations: 4.503 MB / 0.5493 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001859/0.624, allocations: 1.308 MB / 0.5506 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005896/0.6246, allocations: 475.1 kB / 0.551 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.6251, allocations: 448 kB / 0.5514 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004599/0.6256, allocations: 427.3 kB / 0.5518 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.553e-05/0.6256, allocations: 37.75 kB / 0.5519 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008968/0.6346, allocations: 4.407 MB / 0.5562 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.6349, allocations: 110.4 kB / 0.5563 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005463/0.6354, allocations: 356.3 kB / 0.5566 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.6421, allocations: 3.096 MB / 0.5596 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6421, allocations: 0 / 0.5596 GB, free: 2.543 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6421, allocations: 3.938 kB / 0.5597 GB, free: 2.539 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.6421, allocations: 2.094 kB / 0.5597 GB, free: 2.539 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.001897/0.644, allocations: 1.29 MB / 0.5609 GB, free: 1.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6441, allocations: 11.42 kB / 0.5609 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.713e-05/0.6442, allocations: 89.09 kB / 0.561 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.6447, allocations: 0.4884 MB / 0.5615 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.6448, allocations: 39.56 kB / 0.5615 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.6448, allocations: 50.16 kB / 0.5616 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.6455, allocations: 0.6091 MB / 0.5622 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.6455, allocations: 6.844 kB / 0.5622 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.6455, allocations: 23.53 kB / 0.5622 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.6456, allocations: 15.69 kB / 0.5622 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.6459, allocations: 248.3 kB / 0.5624 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.6502, allocations: 7.081 MB / 0.5694 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/0.6503, allocations: 176.2 kB / 0.5695 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.243e-05/0.6504, allocations: 84.98 kB / 0.5696 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.6504, allocations: 79.28 kB / 0.5697 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.6505, allocations: 109.8 kB / 0.5698 GB, free: 9.887 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/0.6505, allocations: 0 / 0.5698 GB, free: 9.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001448/0.6506, allocations: 108 kB / 0.5699 GB, free: 9.812 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.6507, allocations: 126.7 kB / 0.57 GB, free: 9.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007439/0.6514, allocations: 0.777 MB / 0.5708 GB, free: 9.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.6515, allocations: 25.7 kB / 0.5708 GB, free: 9.496 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.6517, allocations: 390.1 kB / 0.5712 GB, free: 9.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-06/0.6517, allocations: 1.406 kB / 0.5712 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.6518, allocations: 42.48 kB / 0.5712 GB, free: 9.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.6519, allocations: 308.7 kB / 0.5715 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.201e-05/0.6519, allocations: 17.34 kB / 0.5715 GB, free: 9.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-05/0.652, allocations: 90.78 kB / 0.5716 GB, free: 8.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.6521, allocations: 112.7 kB / 0.5717 GB, free: 8.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6521, allocations: 3.562 kB / 0.5717 GB, free: 8.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002951/0.6524, allocations: 201.8 kB / 0.5719 GB, free: 8.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6525, allocations: 7.219 kB / 0.5719 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6525, allocations: 3.531 kB / 0.5719 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6525, allocations: 3.625 kB / 0.5719 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.6526, allocations: 25.23 kB / 0.572 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.6526, allocations: 7.562 kB / 0.572 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.6528, allocations: 55.2 kB / 0.572 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.6528, allocations: 7.219 kB / 0.572 GB, free: 8.695 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.653, allocations: 236.1 kB / 0.5722 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.6531, allocations: 182.5 kB / 0.5724 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.6532, allocations: 168.6 kB / 0.5726 GB, free: 8.238 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.656e-05/0.6533, allocations: 189.3 kB / 0.5728 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-05/0.6534, allocations: 179.8 kB / 0.5729 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/0.6534, allocations: 180.2 kB / 0.5731 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.6539, allocations: 0.6435 MB / 0.5737 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.061e-05/0.6539, allocations: 105.7 kB / 0.5738 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.6539, allocations: 108 kB / 0.5739 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-05/0.654, allocations: 186.7 kB / 0.5741 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.6541, allocations: 186.1 kB / 0.5743 GB, free: 6.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-05/0.6541, allocations: 176.3 kB / 0.5745 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.927e-05/0.6542, allocations: 180.5 kB / 0.5746 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.6544, allocations: 389.9 kB / 0.575 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.6546, allocations: 251.1 kB / 0.5752 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.6547, allocations: 182.7 kB / 0.5754 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.6549, allocations: 102.5 kB / 0.5755 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.655, allocations: 184 kB / 0.5757 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.655, allocations: 101 kB / 0.5758 GB, free: 5.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004824/0.6555, allocations: 0.5376 MB / 0.5763 GB, free: 5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6555, allocations: 0 / 0.5763 GB, free: 5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002095/0.6576, allocations: 0.7456 MB / 0.577 GB, free: 4.891 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 (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.002329/0.6599, allocations: 0.9933 MB / 0.578 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.6601, allocations: 47.86 kB / 0.5781 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6601, allocations: 4.062 kB / 0.5781 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/0.6601, allocations: 0 / 0.5781 GB, free: 4.566 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.6622, allocations: 0.8859 MB / 0.5789 GB, free: 4.031 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6633, allocations: 0.9331 MB / 0.5798 GB, free: 3.508 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.6638, allocations: 0.8811 MB / 0.5807 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003278/0.6641, allocations: 127.5 kB / 0.5808 GB, free: 2.762 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.6642, allocations: 48.06 kB / 0.5809 GB, free: 2.746 MB / 430.1 MB Notification: Performance of SimCode: time 2.084e-06/0.6642, allocations: 0 / 0.5809 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Templates: time 0.03688/0.7011, allocations: 26.41 MB / 0.6067 GB, free: 9.27 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)