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.001588/0.001589, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.001205/0.001205, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.475/1.475, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3504/0.3504, allocations: 48.84 MB / 320.2 MB, free: 11.28 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.002283/0.002283, allocations: 67.06 kB / 390.2 MB, free: 48.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 59.16 MB / 449.4 MB, free: 10.13 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.5586/0.6911, allocations: 106.6 MB / 0.5429 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.6941, allocations: 1.054 MB / 0.544 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.6948, allocations: 29.5 kB / 0.544 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.6958, allocations: 243.3 kB / 0.5442 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009833/0.6968, allocations: 409.2 kB / 0.5446 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01405/0.7108, allocations: 4.098 MB / 0.5486 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.713, allocations: 1.31 MB / 0.5499 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006477/0.7137, allocations: 462.1 kB / 0.5503 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005227/0.7142, allocations: 457.7 kB / 0.5508 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.7148, allocations: 432.3 kB / 0.5512 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.847e-05/0.7149, allocations: 36.78 kB / 0.5512 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009155/0.724, allocations: 4.319 MB / 0.5554 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.7242, allocations: 108.3 kB / 0.5555 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.7245, allocations: 361.9 kB / 0.5559 GB, free: 2.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003196/0.7277, allocations: 2.124 MB / 0.558 GB, free: 2.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7277, allocations: 11.5 kB / 0.558 GB, free: 2.188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7277, allocations: 0 / 0.558 GB, free: 2.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.7278, allocations: 0 / 0.558 GB, free: 2.188 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.001954/0.7297, allocations: 1.288 MB / 0.5592 GB, free: 1.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7298, allocations: 14.52 kB / 0.5592 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.7299, allocations: 90.62 kB / 0.5593 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.7305, allocations: 478.8 kB / 0.5598 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.7305, allocations: 39.59 kB / 0.5598 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.7306, allocations: 52.16 kB / 0.5599 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.7314, allocations: 0.6013 MB / 0.5605 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.7314, allocations: 6.5 kB / 0.5605 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.7315, allocations: 26.81 kB / 0.5605 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.7315, allocations: 20.58 kB / 0.5605 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003552/0.7319, allocations: 253 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/0.7374, allocations: 7.091 MB / 0.5677 GB, free: 9.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.7375, allocations: 168 kB / 0.5678 GB, free: 9.805 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.71e-05/0.7376, allocations: 84.17 kB / 0.5679 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.7376, allocations: 75.28 kB / 0.568 GB, free: 9.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/0.7377, allocations: 109.8 kB / 0.5681 GB, free: 9.527 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.7377, allocations: 3.938 kB / 0.5681 GB, free: 9.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001616/0.7379, allocations: 109.1 kB / 0.5682 GB, free: 9.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.738, allocations: 128 kB / 0.5683 GB, free: 9.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.7388, allocations: 0.768 MB / 0.5691 GB, free: 9.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.7389, allocations: 25.7 kB / 0.5691 GB, free: 9.141 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.7392, allocations: 388.4 kB / 0.5695 GB, free: 9.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/0.7392, allocations: 0 / 0.5695 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.433e-05/0.7393, allocations: 44.89 kB / 0.5695 GB, free: 8.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7395, allocations: 315 kB / 0.5698 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/0.7395, allocations: 11.44 kB / 0.5698 GB, free: 8.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.774e-05/0.7396, allocations: 94 kB / 0.5699 GB, free: 8.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.7398, allocations: 111.7 kB / 0.57 GB, free: 8.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7398, allocations: 0 / 0.57 GB, free: 8.477 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003317/0.7401, allocations: 199 kB / 0.5702 GB, free: 8.387 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7401, allocations: 7.125 kB / 0.5702 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7402, allocations: 5.906 kB / 0.5702 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7402, allocations: 2.812 kB / 0.5702 GB, free: 8.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.7403, allocations: 31.03 kB / 0.5702 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.7403, allocations: 2.812 kB / 0.5703 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.7405, allocations: 50.47 kB / 0.5703 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.7406, allocations: 11.56 kB / 0.5703 GB, free: 8.344 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.0002322/0.7408, allocations: 244.5 kB / 0.5705 GB, free: 8.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.741, allocations: 179.3 kB / 0.5707 GB, free: 7.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.7411, allocations: 174.8 kB / 0.5709 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.957e-05/0.7412, allocations: 179.6 kB / 0.5711 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.686e-05/0.7413, allocations: 179.6 kB / 0.5712 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.464e-05/0.7414, allocations: 187.2 kB / 0.5714 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.742, allocations: 0.6457 MB / 0.572 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.317e-05/0.7421, allocations: 104.9 kB / 0.5721 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.7421, allocations: 104.1 kB / 0.5722 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.743e-05/0.7422, allocations: 184 kB / 0.5724 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.541e-05/0.7423, allocations: 184.2 kB / 0.5726 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.447e-05/0.7424, allocations: 178.2 kB / 0.5728 GB, free: 6.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.704e-05/0.7425, allocations: 186.7 kB / 0.5729 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.7428, allocations: 385.8 kB / 0.5733 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.743, allocations: 245.6 kB / 0.5735 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7432, allocations: 186 kB / 0.5737 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.7434, allocations: 104.9 kB / 0.5738 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.7435, allocations: 176.3 kB / 0.574 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.428e-05/0.7436, allocations: 114.8 kB / 0.5741 GB, free: 4.746 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005793/0.7442, allocations: 0.5279 MB / 0.5746 GB, free: 4.637 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7442, allocations: 0 / 0.5746 GB, free: 4.637 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002405/0.7466, allocations: 0.7534 MB / 0.5753 GB, free: 4.523 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.002313/0.7489, allocations: 0.9924 MB / 0.5763 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.7491, allocations: 43 kB / 0.5764 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7491, allocations: 0.75 kB / 0.5764 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.7491, allocations: 2.859 kB / 0.5764 GB, free: 4.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.7514, allocations: 0.9022 MB / 0.5772 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.7529, allocations: 1.143 MB / 0.5784 GB, free: 2.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.7534, allocations: 0.8865 MB / 0.5792 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.7535, allocations: 59.47 kB / 0.5793 GB, free: 2.199 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.7536, allocations: 0 / 0.5793 GB, free: 2.199 MB / 430.1 MB Notification: Performance of Templates: time 0.03362/0.7872, allocations: 19.61 MB / 0.5984 GB, free: 0.8828 MB / 446.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)