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.001085/0.001085, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001252/0.001253, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.324/1.324, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2756/0.2756, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001551/0.001551, allocations: 69.61 kB / 390.1 MB, free: 48.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09955/0.1011, allocations: 59.16 MB / 449.2 MB, free: 9.77 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.5388/0.6399, allocations: 105.8 MB / 0.542 GB, free: 3.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.6427, allocations: 0.9152 MB / 0.5429 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.6432, allocations: 22.41 kB / 0.543 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.6441, allocations: 304.7 kB / 0.5432 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008802/0.6449, allocations: 444.9 kB / 0.5437 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01399/0.6589, allocations: 4.509 MB / 0.5481 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001979/0.661, allocations: 1.305 MB / 0.5493 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.6616, allocations: 475.8 kB / 0.5498 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.6621, allocations: 438.9 kB / 0.5502 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00047/0.6626, allocations: 433 kB / 0.5506 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.729e-05/0.6627, allocations: 34.75 kB / 0.5507 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009948/0.6726, allocations: 4.314 MB / 0.5549 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.6728, allocations: 103.2 kB / 0.555 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.6733, allocations: 361.7 kB / 0.5553 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007569/0.6809, allocations: 3.082 MB / 0.5583 GB, free: 2.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.681, allocations: 2.531 kB / 0.5583 GB, free: 2.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.681, allocations: 0 / 0.5583 GB, free: 2.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.681, allocations: 0 / 0.5583 GB, free: 2.367 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.002453/0.6834, allocations: 1.286 MB / 0.5596 GB, free: 1.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6835, allocations: 12.08 kB / 0.5596 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.6836, allocations: 99.97 kB / 0.5597 GB, free: 1.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.6842, allocations: 477.8 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.6842, allocations: 43.36 kB / 0.5602 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.6843, allocations: 51.72 kB / 0.5602 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.6849, allocations: 0.6098 MB / 0.5608 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.6849, allocations: 6.688 kB / 0.5608 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.685, allocations: 24.09 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.685, allocations: 12.97 kB / 0.5609 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.6853, allocations: 255.4 kB / 0.5611 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00443/0.6898, allocations: 7.086 MB / 0.568 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.6899, allocations: 169.1 kB / 0.5682 GB, free: 9.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.182e-05/0.6899, allocations: 80.14 kB / 0.5683 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.69, allocations: 81.06 kB / 0.5684 GB, free: 9.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.69, allocations: 115.5 kB / 0.5685 GB, free: 9.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.69, allocations: 0 / 0.5685 GB, free: 9.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001463/0.6902, allocations: 106.5 kB / 0.5686 GB, free: 9.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.6902, allocations: 126.7 kB / 0.5687 GB, free: 9.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007902/0.691, allocations: 0.7689 MB / 0.5694 GB, free: 9.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.6911, allocations: 29.7 kB / 0.5695 GB, free: 9.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.6913, allocations: 394.4 kB / 0.5698 GB, free: 9.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.6913, allocations: 3.562 kB / 0.5698 GB, free: 9.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.117e-05/0.6914, allocations: 35.14 kB / 0.5699 GB, free: 9.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6915, allocations: 313.1 kB / 0.5702 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/0.6915, allocations: 13.3 kB / 0.5702 GB, free: 8.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.278e-05/0.6916, allocations: 95.48 kB / 0.5703 GB, free: 8.762 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.6917, allocations: 112.8 kB / 0.5704 GB, free: 8.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6918, allocations: 4 kB / 0.5704 GB, free: 8.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003039/0.6921, allocations: 200.3 kB / 0.5706 GB, free: 8.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6921, allocations: 3.406 kB / 0.5706 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6921, allocations: 3.812 kB / 0.5706 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6921, allocations: 3.5 kB / 0.5706 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.6922, allocations: 24.95 kB / 0.5706 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.6922, allocations: 14.8 kB / 0.5706 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.6924, allocations: 48.34 kB / 0.5707 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6925, allocations: 7.125 kB / 0.5707 GB, free: 8.516 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.0001869/0.6927, allocations: 240.9 kB / 0.5709 GB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6928, allocations: 183.1 kB / 0.5711 GB, free: 8.172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.6929, allocations: 170.2 kB / 0.5713 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.225e-05/0.693, allocations: 180.3 kB / 0.5714 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-05/0.6931, allocations: 182.5 kB / 0.5716 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.298e-05/0.6931, allocations: 179.6 kB / 0.5718 GB, free: 7.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.6936, allocations: 0.6488 MB / 0.5724 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-05/0.6937, allocations: 104.9 kB / 0.5725 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.6937, allocations: 110.1 kB / 0.5726 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-05/0.6938, allocations: 182.5 kB / 0.5728 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.6939, allocations: 177.5 kB / 0.573 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.813e-05/0.6939, allocations: 181.5 kB / 0.5731 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-05/0.694, allocations: 181.4 kB / 0.5733 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.6942, allocations: 391.6 kB / 0.5737 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.6944, allocations: 246.8 kB / 0.5739 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.6945, allocations: 184.1 kB / 0.5741 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.6947, allocations: 104.5 kB / 0.5742 GB, free: 5.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.6948, allocations: 183.8 kB / 0.5744 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.6949, allocations: 105 kB / 0.5745 GB, free: 4.93 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005155/0.6954, allocations: 0.5331 MB / 0.575 GB, free: 4.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6954, allocations: 3.938 kB / 0.575 GB, free: 4.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002657/0.6981, allocations: 0.7447 MB / 0.5757 GB, free: 4.707 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.002358/0.7004, allocations: 0.9911 MB / 0.5767 GB, free: 4.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.7006, allocations: 46.44 kB / 0.5767 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7006, allocations: 0 / 0.5767 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.7006, allocations: 2.469 kB / 0.5767 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.703, allocations: 0.8895 MB / 0.5776 GB, free: 3.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.7044, allocations: 0.9628 MB / 0.5785 GB, free: 3.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.7048, allocations: 0.8767 MB / 0.5794 GB, free: 2.598 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.7052, allocations: 126.5 kB / 0.5795 GB, free: 2.562 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.7053, allocations: 50.56 kB / 0.5796 GB, free: 2.555 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.7053, allocations: 0 / 0.5796 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Templates: time 0.03985/0.7452, allocations: 26.51 MB / 0.6054 GB, free: 9.527 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)