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.001468/0.001468, allocations: 116.1 kB / 17.07 MB, free: 5.996 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.001683/0.001683, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.53/1.53, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2877/0.2877, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.001554/0.001554, allocations: 71.91 kB / 450.5 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1274, allocations: 59.17 MB / 0.4978 GB, free: 13.24 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.3927/0.5201, allocations: 106 MB / 0.6013 GB, free: 40 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003415/0.5236, allocations: 0.9355 MB / 0.6022 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.5245, allocations: 19.81 kB / 0.6022 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009368/0.5255, allocations: 305.5 kB / 0.6025 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009431/0.5264, allocations: 445 kB / 0.603 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.5383, allocations: 4.493 MB / 0.6073 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.5403, allocations: 1.319 MB / 0.6086 GB, free: 8.508 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.5409, allocations: 478.8 kB / 0.6091 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.5414, allocations: 446.2 kB / 0.6095 GB, free: 7.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004874/0.5419, allocations: 429.8 kB / 0.6099 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.542, allocations: 32 kB / 0.61 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008333/0.5503, allocations: 4.409 MB / 0.6143 GB, free: 2.723 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.5505, allocations: 111.4 kB / 0.6144 GB, free: 2.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.551, allocations: 358 kB / 0.6147 GB, free: 2.262 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.5564, allocations: 3.101 MB / 0.6177 GB, free: 15.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5565, allocations: 0 / 0.6177 GB, free: 15.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5565, allocations: 0 / 0.6177 GB, free: 15.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.5565, allocations: 0 / 0.6177 GB, free: 15.15 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.001935/0.5584, allocations: 1.329 MB / 0.619 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.5585, allocations: 15.89 kB / 0.6191 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.5587, allocations: 96.33 kB / 0.6191 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.5594, allocations: 496 kB / 0.6196 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.5595, allocations: 41.38 kB / 0.6197 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.964e-05/0.5595, allocations: 51.94 kB / 0.6197 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.5604, allocations: 0.5984 MB / 0.6203 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5605, allocations: 11.94 kB / 0.6203 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.5605, allocations: 24 kB / 0.6203 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.5605, allocations: 16 kB / 0.6203 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.5609, allocations: 255.3 kB / 0.6206 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.566, allocations: 7.098 MB / 0.6275 GB, free: 4.141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.505e-05/0.5661, allocations: 165.1 kB / 0.6277 GB, free: 3.969 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.5661, allocations: 84.08 kB / 0.6278 GB, free: 3.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.5661, allocations: 75.28 kB / 0.6278 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.5662, allocations: 113.8 kB / 0.6279 GB, free: 3.688 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.5662, allocations: 0 / 0.6279 GB, free: 3.688 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001402/0.5663, allocations: 109.1 kB / 0.628 GB, free: 3.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.5664, allocations: 130.7 kB / 0.6282 GB, free: 3.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008066/0.5672, allocations: 0.7725 MB / 0.6289 GB, free: 2.637 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5673, allocations: 25.7 kB / 0.6289 GB, free: 2.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.5675, allocations: 395.4 kB / 0.6293 GB, free: 2.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-06/0.5676, allocations: 4 kB / 0.6293 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.5676, allocations: 33.7 kB / 0.6294 GB, free: 2.172 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.5677, allocations: 313.9 kB / 0.6297 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.5678, allocations: 15.98 kB / 0.6297 GB, free: 1.844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.5679, allocations: 90.23 kB / 0.6298 GB, free: 1.719 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.568, allocations: 114.2 kB / 0.6299 GB, free: 1.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.568, allocations: 0 / 0.6299 GB, free: 1.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003056/0.5683, allocations: 212.7 kB / 0.6301 GB, free: 1.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.5683, allocations: 4 kB / 0.6301 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5684, allocations: 7.984 kB / 0.6301 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5684, allocations: 4 kB / 0.6301 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.5685, allocations: 23.98 kB / 0.6301 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5685, allocations: 4 kB / 0.6301 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.5687, allocations: 55.83 kB / 0.6302 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.5687, allocations: 12 kB / 0.6302 GB, free: 1.246 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.0001722/0.5689, allocations: 237 kB / 0.6304 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.569, allocations: 184.4 kB / 0.6306 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.5691, allocations: 171.7 kB / 0.6307 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-05/0.5692, allocations: 176.3 kB / 0.6309 GB, free: 472 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-05/0.5693, allocations: 184.2 kB / 0.6311 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.914e-05/0.5693, allocations: 188.2 kB / 0.6313 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/0.5698, allocations: 0.6494 MB / 0.6319 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/0.5699, allocations: 101 kB / 0.632 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.5699, allocations: 109 kB / 0.6321 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.846e-05/0.57, allocations: 184.2 kB / 0.6323 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.5701, allocations: 180.3 kB / 0.6324 GB, free: 14.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.352e-05/0.5701, allocations: 180.2 kB / 0.6326 GB, free: 14.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-05/0.5702, allocations: 184.5 kB / 0.6328 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.5704, allocations: 391.3 kB / 0.6332 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.5705, allocations: 253.5 kB / 0.6334 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.5707, allocations: 184.2 kB / 0.6336 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.5709, allocations: 105 kB / 0.6337 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.145e-05/0.5709, allocations: 176.3 kB / 0.6338 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.571, allocations: 104.9 kB / 0.6339 GB, free: 13.15 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005582/0.5715, allocations: 0.531 MB / 0.6345 GB, free: 12.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5715, allocations: 4 kB / 0.6345 GB, free: 12.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001758/0.5733, allocations: 0.752 MB / 0.6352 GB, free: 11.85 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.002216/0.5755, allocations: 1.004 MB / 0.6362 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.5757, allocations: 48.59 kB / 0.6362 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5757, allocations: 0 / 0.6362 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.744e-06/0.5757, allocations: 4.125 kB / 0.6362 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.5778, allocations: 0.8886 MB / 0.6371 GB, free: 9.883 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.5789, allocations: 0.9712 MB / 0.6381 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.5793, allocations: 0.8859 MB / 0.6389 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002939/0.5796, allocations: 121.6 kB / 0.639 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.119e-05/0.5797, allocations: 51.42 kB / 0.6391 GB, free: 7.797 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5797, allocations: 0 / 0.6391 GB, free: 7.797 MB / 494.1 MB Notification: Performance of Templates: time 0.03708/0.6168, allocations: 26.44 MB / 0.6649 GB, free: 13.3 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)