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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002066/0.002066, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 96.08 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.533/0.533, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 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: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 60.23 MB / 499 MB, free: 14.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.184/8.365, allocations: 2.908 GB / 3.396 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/8.365, allocations: 77.7 kB / 3.396 GB, free: 49.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.666/10.03, allocations: 348 MB / 3.735 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.288e-06/10.03, allocations: 0 / 3.735 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.458e-05/10.03, allocations: 10.34 kB / 3.735 GB, free: 66.06 MB / 0.5105 GB 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.009131/10.04, allocations: 1.417 MB / 3.737 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/10.04, allocations: 7.781 kB / 3.737 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/10.04, allocations: 68.86 kB / 3.737 GB, free: 65.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/10.04, allocations: 67.77 kB / 3.737 GB, free: 65.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007728/10.04, allocations: 351.6 kB / 3.737 GB, free: 64.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/10.04, allocations: 28.45 kB / 3.737 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/10.04, allocations: 30.56 kB / 3.737 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/10.04, allocations: 418.7 kB / 3.738 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/10.04, allocations: 3.938 kB / 3.738 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/10.04, allocations: 11.91 kB / 3.738 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/10.04, allocations: 7.594 kB / 3.738 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/10.04, allocations: 263 kB / 3.738 GB, free: 64.52 MB / 0.5105 GB 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.002025/10.05, allocations: 1.731 MB / 3.74 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/10.05, allocations: 222.1 kB / 3.74 GB, free: 63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1215/10.17, allocations: 63.73 MB / 3.802 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/10.17, allocations: 42.45 kB / 3.802 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.765e-06/10.17, allocations: 0 / 3.802 GB, free: 21.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001652/10.17, allocations: 470.4 kB / 3.803 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/10.17, allocations: 55.41 kB / 3.803 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/10.17, allocations: 314.2 kB / 3.803 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/10.17, allocations: 25.7 kB / 3.803 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/10.17, allocations: 212.2 kB / 3.803 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.706e-05/10.17, allocations: 65.33 kB / 3.803 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/10.17, allocations: 7.5 kB / 3.803 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001138/10.17, allocations: 341.9 kB / 3.804 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/10.17, allocations: 58.47 kB / 3.804 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/10.17, allocations: 111.9 kB / 3.804 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/10.17, allocations: 73.08 kB / 3.804 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/10.17, allocations: 0 / 3.804 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006565/10.17, allocations: 313.4 kB / 3.804 GB, free: 20.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002094/10.17, allocations: 0.6127 MB / 3.805 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/10.17, allocations: 3.906 kB / 3.805 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/10.17, allocations: 76.06 kB / 3.805 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/10.17, allocations: 53.19 kB / 3.805 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/10.17, allocations: 1.908 MB / 3.807 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/10.18, allocations: 45.45 kB / 3.807 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/10.18, allocations: 11.41 kB / 3.807 GB, free: 18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/10.18, allocations: 5.781 kB / 3.807 GB, free: 18 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004898/10.18, allocations: 245 kB / 3.807 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/10.18, allocations: 3.812 kB / 3.807 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/10.18, allocations: 77.3 kB / 3.807 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/10.18, allocations: 54.66 kB / 3.807 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/10.18, allocations: 1.898 MB / 3.809 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/10.18, allocations: 35.08 kB / 3.809 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/10.18, allocations: 19.89 kB / 3.809 GB, free: 15.96 MB / 0.5105 GB 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.0002341/10.18, allocations: 218.3 kB / 3.809 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.208e-05/10.18, allocations: 34.75 kB / 3.809 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/10.18, allocations: 0.8284 MB / 3.81 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/10.18, allocations: 11.66 kB / 3.81 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/10.18, allocations: 0 / 3.81 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/10.18, allocations: 3.891 kB / 3.81 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/10.18, allocations: 0.5577 MB / 3.811 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/10.18, allocations: 0 / 3.811 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/10.18, allocations: 51.11 kB / 3.811 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.174e-05/10.18, allocations: 19.61 kB / 3.811 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/10.18, allocations: 11.48 kB / 3.811 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008683/10.18, allocations: 1.287 MB / 3.812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/10.18, allocations: 3.5 kB / 3.812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/10.18, allocations: 0.8033 MB / 3.813 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/10.18, allocations: 134.6 kB / 3.813 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/10.18, allocations: 4 kB / 3.813 GB, free: 12.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/10.18, allocations: 19.05 kB / 3.813 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/10.18, allocations: 18.47 kB / 3.813 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/10.18, allocations: 3.875 kB / 3.813 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000257/10.18, allocations: 256 kB / 3.813 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/10.18, allocations: 0 / 3.813 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009208/10.19, allocations: 1.368 MB / 3.815 GB, free: 12.55 MB / 0.5105 GB 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.01653/10.21, allocations: 2.922 MB / 3.817 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001468/10.21, allocations: 0.6069 MB / 3.818 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/10.21, allocations: 0 / 3.818 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/10.21, allocations: 307 kB / 3.818 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/10.21, allocations: 168.6 kB / 3.818 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008457/10.22, allocations: 3.106 MB / 3.822 GB, free: 24.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005089/10.22, allocations: 0.8512 MB / 3.822 GB, free: 23.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004388/10.22, allocations: 140.6 kB / 3.822 GB, free: 23.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/10.22, allocations: 162.7 kB / 3.823 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of SimCode: time 2.264e-06/10.22, allocations: 0 / 3.823 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.473/10.69, allocations: 43.86 MB / 3.865 GB, free: 67.15 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/10.69, allocations: 189.6 kB / 3.866 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.933/14.63, allocations: 2.297 kB / 3.866 GB, free: 66.92 MB / 0.5261 GB (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)