Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST1.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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 105.8 kB / 17.59 MB, free: 5.445 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.001419/0.001419, allocations: 191.3 kB / 18.52 MB, free: 4.523 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.534/1.534, allocations: 205.1 MB / 224.4 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.3254/0.3254, allocations: 48.85 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1e-005 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "" 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.002192/0.002192, allocations: 68.81 kB / 390.7 MB, free: 48.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1128, allocations: 59.17 MB / 449.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.05251/0.1653, allocations: 44.07 MB / 494 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02177/0.1871, allocations: 15.48 MB / 0.4975 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004115/0.1876, allocations: 11.94 kB / 0.4975 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.1884, allocations: 194.7 kB / 0.4977 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.189, allocations: 250.3 kB / 0.498 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01956/0.2086, allocations: 6.589 MB / 0.5044 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001282/0.2099, allocations: 0.6609 MB / 0.505 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005147/0.2104, allocations: 254.7 kB / 0.5053 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.2108, allocations: 247.1 kB / 0.5055 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.2111, allocations: 250.8 kB / 0.5058 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.2112, allocations: 31.98 kB / 0.5058 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01726/0.2285, allocations: 8.783 MB / 0.5144 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.2286, allocations: 75.69 kB / 0.5144 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.229, allocations: 210.9 kB / 0.5146 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01505/0.2441, allocations: 5.247 MB / 0.5198 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.2441, allocations: 0 / 0.5198 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2441, allocations: 4 kB / 0.5198 GB, free: 7.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.2441, allocations: 0 / 0.5198 GB, free: 7.172 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004117/0.2483, allocations: 1.29 MB / 0.521 GB, free: 5.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2483, allocations: 11.89 kB / 0.521 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.2486, allocations: 68.44 kB / 0.5211 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.2491, allocations: 335.3 kB / 0.5214 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2491, allocations: 21.03 kB / 0.5214 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.2492, allocations: 40.03 kB / 0.5215 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/0.25, allocations: 384.2 kB / 0.5218 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.25, allocations: 0 / 0.5218 GB, free: 4.926 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2501, allocations: 12 kB / 0.5219 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.2501, allocations: 11.98 kB / 0.5219 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.2507, allocations: 254 kB / 0.5221 GB, free: 4.656 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.2527, allocations: 1.624 MB / 0.5237 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.2534, allocations: 210.4 kB / 0.5239 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.2536, allocations: 72.77 kB / 0.524 GB, free: 2.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3592/0.6128, allocations: 63.96 MB / 0.5864 GB, free: 33.31 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6128, allocations: 38.55 kB / 0.5865 GB, free: 33.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 4.147e-06/0.6129, allocations: 2.438 kB / 0.5865 GB, free: 33.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001459/0.6143, allocations: 462.9 kB / 0.5869 GB, free: 32.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.6144, allocations: 51.41 kB / 0.587 GB, free: 32.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.6148, allocations: 358.8 kB / 0.5873 GB, free: 32.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.6148, allocations: 29.7 kB / 0.5873 GB, free: 32.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.6149, allocations: 206.7 kB / 0.5875 GB, free: 32.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.615, allocations: 63.75 kB / 0.5876 GB, free: 32.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/0.6151, allocations: 53.7 kB / 0.5876 GB, free: 32.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.6151, allocations: 346.8 kB / 0.588 GB, free: 31.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.6153, allocations: 68.48 kB / 0.588 GB, free: 31.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.6154, allocations: 110 kB / 0.5881 GB, free: 31.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.6157, allocations: 178 kB / 0.5883 GB, free: 31.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6157, allocations: 4 kB / 0.5883 GB, free: 31.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005425/0.6162, allocations: 298.3 kB / 0.5886 GB, free: 31.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.6163, allocations: 9.406 kB / 0.5886 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6163, allocations: 3.75 kB / 0.5886 GB, free: 31.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003905/0.6167, allocations: 85.67 kB / 0.5887 GB, free: 30.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.6169, allocations: 51.25 kB / 0.5887 GB, free: 30.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.618, allocations: 1.992 MB / 0.5907 GB, free: 28.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.6182, allocations: 27.69 kB / 0.5907 GB, free: 28.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.6183, allocations: 16.06 kB / 0.5907 GB, free: 28.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001885/0.6185, allocations: 160.1 kB / 0.5909 GB, free: 28.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001182/0.6186, allocations: 110.8 kB / 0.591 GB, free: 28.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002168/0.6188, allocations: 180.8 kB / 0.5912 GB, free: 28.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.562e-06/0.6188, allocations: 0 / 0.5912 GB, free: 28.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0004787/0.6193, allocations: 297.3 kB / 0.5914 GB, free: 27.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.6193, allocations: 8 kB / 0.5915 GB, free: 27.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6193, allocations: 3.938 kB / 0.5915 GB, free: 27.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/0.6196, allocations: 79.06 kB / 0.5915 GB, free: 27.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.6198, allocations: 53.58 kB / 0.5916 GB, free: 27.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009709/0.6207, allocations: 1.99 MB / 0.5935 GB, free: 25.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.6209, allocations: 19.83 kB / 0.5935 GB, free: 25.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.621, allocations: 8 kB / 0.5936 GB, free: 25.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (ST.fluidState_in.phase,SensT1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.6211, allocations: 194 kB / 0.5937 GB, free: 25.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.6211, allocations: 41.03 kB / 0.5938 GB, free: 25.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.622, allocations: 0.8279 MB / 0.5946 GB, free: 24.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6221, allocations: 11.98 kB / 0.5946 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6221, allocations: 0 / 0.5946 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6221, allocations: 9.047 kB / 0.5946 GB, free: 24.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.6226, allocations: 0.5443 MB / 0.5951 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6226, allocations: 3.938 kB / 0.5951 GB, free: 23.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.6228, allocations: 43.97 kB / 0.5952 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.487e-05/0.6229, allocations: 24.84 kB / 0.5952 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.6229, allocations: 8 kB / 0.5952 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006762/0.6236, allocations: 1.383 MB / 0.5966 GB, free: 22.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6236, allocations: 0 / 0.5966 GB, free: 22.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.6243, allocations: 0.8074 MB / 0.5974 GB, free: 21.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6245, allocations: 128.4 kB / 0.5975 GB, free: 21.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.6245, allocations: 8 kB / 0.5975 GB, free: 21.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6247, allocations: 7.938 kB / 0.5975 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.6247, allocations: 17.61 kB / 0.5975 GB, free: 21.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.6248, allocations: 8 kB / 0.5975 GB, free: 21.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.625, allocations: 251.2 kB / 0.5978 GB, free: 21.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.625, allocations: 0 / 0.5978 GB, free: 21.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003596/0.6286, allocations: 1.342 MB / 0.5991 GB, free: 19.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006998/0.6356, allocations: 1.429 MB / 0.6005 GB, free: 18.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.6368, allocations: 0.6106 MB / 0.6011 GB, free: 17.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6369, allocations: 1.5 kB / 0.6011 GB, free: 17.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.6372, allocations: 315.4 kB / 0.6014 GB, free: 17.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.6383, allocations: 172.7 kB / 0.6015 GB, free: 17.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.6401, allocations: 1.181 MB / 0.6027 GB, free: 16.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.6403, allocations: 0.8324 MB / 0.6035 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.6404, allocations: 31.44 kB / 0.6035 GB, free: 15.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6404, allocations: 0 / 0.6035 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Templates: time 0.04416/0.6846, allocations: 29.38 MB / 0.6322 GB, free: 2.035 MB / 430.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1)