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.001009/0.001009, allocations: 111.1 kB / 16.51 MB, free: 6.715 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.001098/0.001098, allocations: 186.6 kB / 17.42 MB, free: 6.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.493/1.493, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2965/0.2965, allocations: 48.85 MB / 319.5 MB, free: 11.29 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.001389/0.001389, allocations: 62.78 kB / 389.4 MB, free: 49.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 59.17 MB / 448.5 MB, free: 10.26 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.4724/0.5763, allocations: 105 MB / 0.5405 GB, free: 4.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.5787, allocations: 1.06 MB / 0.5415 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005385/0.5793, allocations: 32.41 kB / 0.5416 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007599/0.5801, allocations: 226.4 kB / 0.5418 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007734/0.5809, allocations: 426.4 kB / 0.5422 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.591, allocations: 3.859 MB / 0.546 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002617/0.5936, allocations: 1.797 MB / 0.5477 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.5941, allocations: 407.8 kB / 0.5481 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.5946, allocations: 409.4 kB / 0.5485 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.595, allocations: 440.4 kB / 0.5489 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.72e-05/0.5951, allocations: 21.81 kB / 0.5489 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008335/0.6034, allocations: 4.318 MB / 0.5531 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.6036, allocations: 93.69 kB / 0.5532 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004716/0.6041, allocations: 351 kB / 0.5536 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005028/0.6091, allocations: 3.071 MB / 0.5566 GB, free: 2.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.6091, allocations: 4 kB / 0.5566 GB, free: 2.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6092, allocations: 0 / 0.5566 GB, free: 2.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.6092, allocations: 0 / 0.5566 GB, free: 2.641 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.001799/0.611, allocations: 1.289 MB / 0.5578 GB, free: 1.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.611, allocations: 12.2 kB / 0.5578 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.6111, allocations: 89.12 kB / 0.5579 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/0.6116, allocations: 478.9 kB / 0.5584 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.6116, allocations: 35.47 kB / 0.5584 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.6117, allocations: 54 kB / 0.5585 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.6123, allocations: 0.6033 MB / 0.5591 GB, free: 1.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6123, allocations: 6.719 kB / 0.5591 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.6124, allocations: 22.19 kB / 0.5591 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6124, allocations: 19.88 kB / 0.5591 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.6127, allocations: 250.1 kB / 0.5593 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.6166, allocations: 7.088 MB / 0.5663 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.862e-05/0.6167, allocations: 169.1 kB / 0.5664 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.6167, allocations: 84.23 kB / 0.5665 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.6167, allocations: 81.52 kB / 0.5666 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.6168, allocations: 109 kB / 0.5667 GB, free: 9.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.6168, allocations: 4 kB / 0.5667 GB, free: 9.988 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.000153/0.617, allocations: 110.9 kB / 0.5668 GB, free: 9.914 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.617, allocations: 126.7 kB / 0.5669 GB, free: 9.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.6178, allocations: 0.7694 MB / 0.5677 GB, free: 9.633 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.6178, allocations: 29.64 kB / 0.5677 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.618, allocations: 391.3 kB / 0.5681 GB, free: 9.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.6181, allocations: 3.141 kB / 0.5681 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.6181, allocations: 33.56 kB / 0.5681 GB, free: 9.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/0.6182, allocations: 319.1 kB / 0.5684 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.6183, allocations: 17.56 kB / 0.5684 GB, free: 9.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.6183, allocations: 84.42 kB / 0.5685 GB, free: 9.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.6185, allocations: 114.7 kB / 0.5686 GB, free: 8.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6185, allocations: 0 / 0.5686 GB, free: 8.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002833/0.6188, allocations: 202.4 kB / 0.5688 GB, free: 8.844 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.6188, allocations: 5.938 kB / 0.5688 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6188, allocations: 3.156 kB / 0.5688 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.6188, allocations: 2.625 kB / 0.5688 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.6189, allocations: 31.91 kB / 0.5689 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.6189, allocations: 5.469 kB / 0.5689 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.6191, allocations: 48.66 kB / 0.5689 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.6191, allocations: 7.938 kB / 0.5689 GB, free: 8.805 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.0001824/0.6193, allocations: 242.1 kB / 0.5691 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6194, allocations: 183.8 kB / 0.5693 GB, free: 8.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.6196, allocations: 170.5 kB / 0.5695 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-05/0.6196, allocations: 182.9 kB / 0.5697 GB, free: 8.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.744e-05/0.6197, allocations: 182.4 kB / 0.5698 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-05/0.6198, allocations: 185.5 kB / 0.57 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.6202, allocations: 0.6411 MB / 0.5706 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/0.6202, allocations: 108.3 kB / 0.5707 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.6203, allocations: 109.8 kB / 0.5708 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.6203, allocations: 176.3 kB / 0.571 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.6204, allocations: 188 kB / 0.5712 GB, free: 6.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-05/0.6205, allocations: 183.6 kB / 0.5714 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-05/0.6205, allocations: 176.3 kB / 0.5715 GB, free: 6.395 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.6207, allocations: 392.5 kB / 0.5719 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.6209, allocations: 246 kB / 0.5721 GB, free: 5.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.621, allocations: 186.7 kB / 0.5723 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.6212, allocations: 104.4 kB / 0.5724 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.6212, allocations: 180.2 kB / 0.5726 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.6213, allocations: 103.5 kB / 0.5727 GB, free: 5.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.6218, allocations: 0.5274 MB / 0.5732 GB, free: 5.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6218, allocations: 3.406 kB / 0.5732 GB, free: 5.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001871/0.6237, allocations: 0.7434 MB / 0.5739 GB, free: 5 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.002209/0.6259, allocations: 1 MB / 0.5749 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.626, allocations: 43.59 kB / 0.575 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.626, allocations: 0 / 0.575 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.626, allocations: 8.625 kB / 0.575 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.6283, allocations: 0.9509 MB / 0.5759 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.6295, allocations: 1.113 MB / 0.577 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.6298, allocations: 0.8801 MB / 0.5778 GB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003449/0.6302, allocations: 124.2 kB / 0.578 GB, free: 2.656 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.6303, allocations: 50.86 kB / 0.578 GB, free: 2.645 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6303, allocations: 2.344 kB / 0.578 GB, free: 2.645 MB / 430.1 MB Notification: Performance of Templates: time 0.04122/0.6715, allocations: 26.02 MB / 0.6034 GB, free: 10.73 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)