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.001245/0.001245, allocations: 112.9 kB / 17.69 MB, free: 5.309 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.001048/0.001048, allocations: 192 kB / 18.63 MB, free: 4.375 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.427/1.427, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2754/0.2754, allocations: 48.85 MB / 320.7 MB, free: 11.05 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.001516/0.001516, allocations: 71.61 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1013, allocations: 59.16 MB / 450.7 MB, free: 9.059 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.5/0.6013, allocations: 105.6 MB / 0.5433 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.6036, allocations: 0.9297 MB / 0.5442 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005146/0.6041, allocations: 20.44 kB / 0.5442 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007676/0.6049, allocations: 301.8 kB / 0.5445 GB, free: 4.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008364/0.6057, allocations: 439.4 kB / 0.5449 GB, free: 4.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.6169, allocations: 4.503 MB / 0.5493 GB, free: 3.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002112/0.619, allocations: 1.318 MB / 0.5506 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006837/0.6197, allocations: 468.5 kB / 0.551 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.6203, allocations: 455 kB / 0.5515 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004308/0.6208, allocations: 430.2 kB / 0.5519 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.367e-05/0.6208, allocations: 36.75 kB / 0.5519 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008558/0.6294, allocations: 4.396 MB / 0.5562 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.6296, allocations: 106.4 kB / 0.5563 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004929/0.6301, allocations: 364 kB / 0.5566 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006988/0.6371, allocations: 3.095 MB / 0.5597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6372, allocations: 1.969 kB / 0.5597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6372, allocations: 0 / 0.5597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.6372, allocations: 0 / 0.5597 GB, free: 2.934 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.002126/0.6393, allocations: 1.283 MB / 0.5609 GB, free: 2.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.6394, allocations: 12.77 kB / 0.5609 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.6395, allocations: 92.12 kB / 0.561 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.6401, allocations: 496.6 kB / 0.5615 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.6401, allocations: 38.34 kB / 0.5615 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.6402, allocations: 52.94 kB / 0.5616 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005923/0.6407, allocations: 0.6079 MB / 0.5622 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.6408, allocations: 7 kB / 0.5622 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.6408, allocations: 26.78 kB / 0.5622 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6408, allocations: 14.66 kB / 0.5622 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003238/0.6412, allocations: 250.5 kB / 0.5625 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004178/0.6454, allocations: 7.08 MB / 0.5694 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.585e-05/0.6455, allocations: 180.1 kB / 0.5695 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6455, allocations: 81.36 kB / 0.5696 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.6455, allocations: 75.28 kB / 0.5697 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.6456, allocations: 109.8 kB / 0.5698 GB, free: 10.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.864e-06/0.6456, allocations: 2.625 kB / 0.5698 GB, free: 10.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001567/0.6458, allocations: 109.3 kB / 0.5699 GB, free: 10.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.6458, allocations: 130.6 kB / 0.57 GB, free: 10.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007345/0.6466, allocations: 0.7756 MB / 0.5708 GB, free: 9.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.6466, allocations: 25.7 kB / 0.5708 GB, free: 9.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.6468, allocations: 392.5 kB / 0.5712 GB, free: 9.762 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.6469, allocations: 2.297 kB / 0.5712 GB, free: 9.762 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.6469, allocations: 38.44 kB / 0.5712 GB, free: 9.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.647, allocations: 316.4 kB / 0.5715 GB, free: 9.434 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.6471, allocations: 12.69 kB / 0.5715 GB, free: 9.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.222e-05/0.6472, allocations: 90.45 kB / 0.5716 GB, free: 9.336 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6473, allocations: 115.1 kB / 0.5717 GB, free: 9.219 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6473, allocations: 0 / 0.5717 GB, free: 9.219 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002895/0.6476, allocations: 203.7 kB / 0.5719 GB, free: 9.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6476, allocations: 10.11 kB / 0.5719 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6476, allocations: 3.656 kB / 0.5719 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6476, allocations: 3.656 kB / 0.5719 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.6477, allocations: 24.33 kB / 0.572 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.6478, allocations: 3.406 kB / 0.572 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.648, allocations: 53.12 kB / 0.572 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.648, allocations: 8.734 kB / 0.572 GB, free: 9.09 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.0001697/0.6482, allocations: 241.7 kB / 0.5723 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.6483, allocations: 179.9 kB / 0.5724 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.6484, allocations: 165.2 kB / 0.5726 GB, free: 8.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.227e-05/0.6485, allocations: 183.3 kB / 0.5728 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-05/0.6486, allocations: 177.2 kB / 0.5729 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/0.6486, allocations: 186.1 kB / 0.5731 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.6491, allocations: 0.6477 MB / 0.5737 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.6491, allocations: 104.8 kB / 0.5738 GB, free: 7.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.6492, allocations: 111.1 kB / 0.574 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.856e-05/0.6492, allocations: 178.7 kB / 0.5741 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.386e-05/0.6493, allocations: 180.2 kB / 0.5743 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.833e-05/0.6493, allocations: 188.8 kB / 0.5745 GB, free: 6.867 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.619e-05/0.6494, allocations: 179 kB / 0.5746 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.6496, allocations: 383.8 kB / 0.575 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.6498, allocations: 251.4 kB / 0.5752 GB, free: 6.086 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.65, allocations: 190 kB / 0.5754 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6502, allocations: 101 kB / 0.5755 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.6502, allocations: 180.2 kB / 0.5757 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.6503, allocations: 103.5 kB / 0.5758 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005583/0.6508, allocations: 0.526 MB / 0.5763 GB, free: 5.398 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6508, allocations: 0 / 0.5763 GB, free: 5.398 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002201/0.6531, allocations: 0.7554 MB / 0.577 GB, free: 5.289 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.002821/0.6559, allocations: 0.9863 MB / 0.578 GB, free: 4.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.6561, allocations: 46.5 kB / 0.5781 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6561, allocations: 2.938 kB / 0.5781 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.6561, allocations: 0 / 0.5781 GB, free: 4.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.6583, allocations: 0.8981 MB / 0.5789 GB, free: 4.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.6595, allocations: 0.9345 MB / 0.5798 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.6599, allocations: 0.8793 MB / 0.5807 GB, free: 3.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003154/0.6603, allocations: 119.6 kB / 0.5808 GB, free: 3.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.6603, allocations: 55.31 kB / 0.5809 GB, free: 3.152 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6603, allocations: 0 / 0.5809 GB, free: 3.152 MB / 430.1 MB Notification: Performance of Templates: time 0.03979/0.7001, allocations: 26.41 MB / 0.6067 GB, free: 9.742 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 cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1)