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.001287/0.001287, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009352/0.0009349, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3184/0.3184, allocations: 48.78 MB / 364.3 MB, free: 6.879 MB / 266.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 3.498e-05/3.522e-05, allocations: 7.938 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1554, allocations: 60.25 MB / 492.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.177/9.332, allocations: 2.908 GB / 3.39 GB, free: 31.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/9.333, allocations: 81.7 kB / 3.39 GB, free: 31.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.579/10.91, allocations: 346.8 MB / 3.728 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.325e-06/10.91, allocations: 0 / 3.728 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.103e-05/10.91, allocations: 13.33 kB / 3.728 GB, free: 72.8 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.00848/10.92, allocations: 1.363 MB / 3.73 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/10.92, allocations: 11.59 kB / 3.73 GB, free: 71.98 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/10.92, allocations: 61.28 kB / 3.73 GB, free: 71.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/10.92, allocations: 68.3 kB / 3.73 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/10.92, allocations: 342.2 kB / 3.73 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/10.92, allocations: 35.48 kB / 3.73 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/10.92, allocations: 26.12 kB / 3.73 GB, free: 71.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008306/10.92, allocations: 435 kB / 3.731 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/10.92, allocations: 3.906 kB / 3.731 GB, free: 71.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/10.92, allocations: 15.41 kB / 3.731 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/10.92, allocations: 7.469 kB / 3.731 GB, free: 71.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/10.92, allocations: 254.4 kB / 3.731 GB, free: 71.26 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.00178/10.93, allocations: 1.733 MB / 3.733 GB, free: 69.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005519/10.93, allocations: 222.8 kB / 3.733 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/10.93, allocations: 65.97 kB / 3.733 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1118/11.04, allocations: 63.97 MB / 3.795 GB, free: 17.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/11.04, allocations: 38.55 kB / 3.795 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 3.957e-06/11.04, allocations: 0 / 3.795 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001249/11.04, allocations: 337.5 kB / 3.796 GB, free: 17.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/11.04, allocations: 55.31 kB / 3.796 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/11.04, allocations: 307.6 kB / 3.796 GB, free: 16.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/11.04, allocations: 33.7 kB / 3.796 GB, free: 16.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/11.04, allocations: 215.1 kB / 3.796 GB, free: 16.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.915e-05/11.04, allocations: 59.11 kB / 3.796 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/11.04, allocations: 8 kB / 3.796 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/11.04, allocations: 346.8 kB / 3.797 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/11.04, allocations: 48 kB / 3.797 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/11.04, allocations: 106 kB / 3.797 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/11.04, allocations: 63.78 kB / 3.797 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/11.04, allocations: 4 kB / 3.797 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005319/11.04, allocations: 296.2 kB / 3.797 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/11.04, allocations: 0.6124 MB / 3.798 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/11.04, allocations: 0 / 3.798 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/11.04, allocations: 85.61 kB / 3.798 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/11.04, allocations: 43.92 kB / 3.798 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/11.04, allocations: 1.892 MB / 3.8 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/11.04, allocations: 43.8 kB / 3.8 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/11.04, allocations: 12 kB / 3.8 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/11.04, allocations: 4 kB / 3.8 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003991/11.04, allocations: 229.5 kB / 3.8 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/11.04, allocations: 0 / 3.8 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/11.04, allocations: 77.61 kB / 3.8 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/11.04, allocations: 47.97 kB / 3.8 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009953/11.04, allocations: 1.892 MB / 3.802 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/11.05, allocations: 51.25 kB / 3.802 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/11.05, allocations: 8 kB / 3.802 GB, free: 10.41 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 () * 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.0001004/11.05, allocations: 120.9 kB / 3.802 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/11.05, allocations: 39.52 kB / 3.802 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/11.05, allocations: 0.8065 MB / 3.803 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/11.05, allocations: 11.98 kB / 3.803 GB, free: 9.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/11.05, allocations: 4 kB / 3.803 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/11.05, allocations: 0 / 3.803 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/11.05, allocations: 0.55 MB / 3.803 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/11.05, allocations: 0 / 3.803 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/11.05, allocations: 43.92 kB / 3.804 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-05/11.05, allocations: 20.84 kB / 3.804 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/11.05, allocations: 15.95 kB / 3.804 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007025/11.05, allocations: 1.277 MB / 3.805 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/11.05, allocations: 4.062 kB / 3.805 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/11.05, allocations: 0.7755 MB / 3.806 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/11.05, allocations: 132.4 kB / 3.806 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/11.05, allocations: 7.984 kB / 3.806 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/11.05, allocations: 23.89 kB / 3.806 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/11.05, allocations: 15.98 kB / 3.806 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/11.05, allocations: 8 kB / 3.806 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002294/11.05, allocations: 246.1 kB / 3.806 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/11.05, allocations: 0 / 3.806 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007484/11.06, allocations: 1.366 MB / 3.807 GB, free: 4.715 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 () * 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.01318/11.07, allocations: 2.905 MB / 3.81 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001247/11.07, allocations: 0.5889 MB / 3.811 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/11.07, allocations: 0 / 3.811 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003403/11.07, allocations: 299.7 kB / 3.811 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/11.07, allocations: 169.9 kB / 3.811 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006641/11.08, allocations: 1.424 MB / 3.813 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/11.08, allocations: 0.8519 MB / 3.813 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004859/11.08, allocations: 166.3 kB / 3.814 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/11.08, allocations: 159.4 kB / 3.814 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.532e-06/11.08, allocations: 0 / 3.814 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.464/11.55, allocations: 47 MB / 3.86 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/11.55, allocations: 171.9 kB / 3.86 GB, free: 78.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/14.98, allocations: 3.438 kB / 3.86 GB, free: 78.1 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)