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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST1,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 91.73 kB / 16.3 MB, free: 6.453 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.002108/0.002108, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.903/1.903, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3776/0.3776, allocations: 48.78 MB / 320.4 MB, free: 11.32 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.0005369/0.000537, allocations: 15.09 kB / 391.2 MB, free: 50.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 60.27 MB / 451.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.05056/0.1825, allocations: 37.12 MB / 488.6 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01935/0.2019, allocations: 13.45 MB / 0.4903 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.2027, allocations: 7.938 kB / 0.4903 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008595/0.2036, allocations: 167.2 kB / 0.4905 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006878/0.2043, allocations: 235.2 kB / 0.4907 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02012/0.2245, allocations: 5.08 MB / 0.4957 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.2256, allocations: 438.9 kB / 0.4961 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.2261, allocations: 201.8 kB / 0.4963 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.2266, allocations: 191.3 kB / 0.4965 GB, free: 488 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.2268, allocations: 187.2 kB / 0.4966 GB, free: 300 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.074e-05/0.2269, allocations: 20 kB / 0.4967 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02226/0.2491, allocations: 8.841 MB / 0.5053 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.2494, allocations: 59.75 kB / 0.5053 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.2497, allocations: 101.5 kB / 0.5054 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009543/0.2592, allocations: 3.477 MB / 0.5088 GB, free: 3.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2593, allocations: 0 / 0.5088 GB, free: 3.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.2593, allocations: 0 / 0.5088 GB, free: 3.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2593, allocations: 0 / 0.5088 GB, free: 3.773 MB / 398.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.004603/0.2639, allocations: 1.239 MB / 0.51 GB, free: 2.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.264, allocations: 8.031 kB / 0.5101 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.771e-05/0.2641, allocations: 62.53 kB / 0.5101 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.2644, allocations: 67.42 kB / 0.5102 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.2649, allocations: 322.3 kB / 0.5105 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.265, allocations: 20.66 kB / 0.5105 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.596e-05/0.2651, allocations: 35.91 kB / 0.5105 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.266, allocations: 384.2 kB / 0.5109 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.266, allocations: 3.938 kB / 0.5109 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.266, allocations: 12 kB / 0.5109 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.2661, allocations: 8 kB / 0.5109 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.2667, allocations: 258 kB / 0.5112 GB, free: 1.25 MB / 398.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.002141/0.2689, allocations: 1.631 MB / 0.5128 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.2696, allocations: 206.4 kB / 0.513 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4837/0.7533, allocations: 64.6 MB / 0.576 GB, free: 43.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.7534, allocations: 31.97 kB / 0.5761 GB, free: 43.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.665e-06/0.7534, allocations: 0 / 0.5761 GB, free: 43.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001444/0.7548, allocations: 468.3 kB / 0.5765 GB, free: 43.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.7549, allocations: 54.66 kB / 0.5766 GB, free: 43.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.7552, allocations: 352 kB / 0.5769 GB, free: 43.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.7553, allocations: 33.64 kB / 0.5769 GB, free: 42.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.7554, allocations: 207.3 kB / 0.5771 GB, free: 42.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.7555, allocations: 61.31 kB / 0.5772 GB, free: 42.81 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.7555, allocations: 3.312 kB / 0.5772 GB, free: 42.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.7556, allocations: 354 kB / 0.5775 GB, free: 42.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.7557, allocations: 58.59 kB / 0.5776 GB, free: 42.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.7559, allocations: 110.6 kB / 0.5777 GB, free: 42.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.756, allocations: 70.03 kB / 0.5778 GB, free: 42.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.756, allocations: 1.094 kB / 0.5778 GB, free: 42.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000527/0.7566, allocations: 310.3 kB / 0.5781 GB, free: 42.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.7568, allocations: 0.6139 MB / 0.5787 GB, free: 41.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.7568, allocations: 4 kB / 0.5787 GB, free: 41.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.7572, allocations: 85.42 kB / 0.5788 GB, free: 41.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.7574, allocations: 52.09 kB / 0.5788 GB, free: 41.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.7586, allocations: 1.904 MB / 0.5807 GB, free: 39.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.7589, allocations: 44.05 kB / 0.5807 GB, free: 39.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7589, allocations: 8 kB / 0.5807 GB, free: 39.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.7589, allocations: 2.812 kB / 0.5807 GB, free: 39.26 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004443/0.7594, allocations: 248.2 kB / 0.5809 GB, free: 39.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.7594, allocations: 4 kB / 0.581 GB, free: 39.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002904/0.7597, allocations: 70.97 kB / 0.581 GB, free: 39.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.7598, allocations: 54.03 kB / 0.5811 GB, free: 38.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.7609, allocations: 1.911 MB / 0.5829 GB, free: 36.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.7612, allocations: 43.91 kB / 0.583 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.7612, allocations: 10.88 kB / 0.583 GB, free: 36.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.7614, allocations: 213.1 kB / 0.5832 GB, free: 36.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.7615, allocations: 35.62 kB / 0.5832 GB, free: 36.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.7625, allocations: 0.8303 MB / 0.584 GB, free: 36.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7626, allocations: 10.17 kB / 0.584 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.7626, allocations: 0 / 0.584 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.7626, allocations: 3.984 kB / 0.5841 GB, free: 36.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.7631, allocations: 0.5515 MB / 0.5846 GB, free: 35.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.7631, allocations: 0 / 0.5846 GB, free: 35.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.7633, allocations: 43.91 kB / 0.5846 GB, free: 35.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.513e-05/0.7634, allocations: 32.8 kB / 0.5847 GB, free: 35.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.7635, allocations: 4 kB / 0.5847 GB, free: 35.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008068/0.7643, allocations: 1.286 MB / 0.5859 GB, free: 34.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7643, allocations: 0.6562 kB / 0.5859 GB, free: 34.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.7651, allocations: 0.8108 MB / 0.5867 GB, free: 33.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.7652, allocations: 128.5 kB / 0.5868 GB, free: 33.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.7652, allocations: 0 / 0.5868 GB, free: 33.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.7655, allocations: 29.52 kB / 0.5869 GB, free: 33.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.7655, allocations: 15.94 kB / 0.5869 GB, free: 33.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.7655, allocations: 9.406 kB / 0.5869 GB, free: 33.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.7658, allocations: 251.2 kB / 0.5871 GB, free: 32.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7658, allocations: 0 / 0.5871 GB, free: 32.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006149/0.7719, allocations: 1.347 MB / 0.5884 GB, free: 31.54 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008873/0.7809, allocations: 2.556 MB / 0.5909 GB, free: 29.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.7822, allocations: 0.6057 MB / 0.5915 GB, free: 28.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7822, allocations: 0 / 0.5915 GB, free: 28.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.7826, allocations: 311.8 kB / 0.5918 GB, free: 28.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.7837, allocations: 161.4 kB / 0.592 GB, free: 28.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00468/0.7884, allocations: 3.025 MB / 0.5949 GB, free: 24.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.7887, allocations: 0.848 MB / 0.5958 GB, free: 24.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.7891, allocations: 153.9 kB / 0.5959 GB, free: 23.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.7893, allocations: 163.4 kB / 0.5961 GB, free: 23.77 MB / 414.1 MB Notification: Performance of SimCode: time 1.072e-06/0.7893, allocations: 0 / 0.5961 GB, free: 23.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09406/0.8833, allocations: 55.87 MB / 0.6506 GB, free: 15.81 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.8836, allocations: 204.2 kB / 0.6508 GB, free: 15.56 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/8.364, allocations: 0 / 0.6508 GB, free: 15.56 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST1.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) Environment - environmentSimulation: