Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestST2.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.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestST2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestST2",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.001221/0.001221, allocations: 94.56 kB / 16.3 MB, free: 5.996 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.001467/0.001467, allocations: 184.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.277/2.277, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6418/0.6418, allocations: 48.77 MB / 320.4 MB, free: 3.812 MB / 254.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.0009142/0.0009143, allocations: 12 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1807, allocations: 60.26 MB / 451.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST2): time 0.3707/0.5515, allocations: 31.33 MB / 482.8 MB, free: 30.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.57, allocations: 12.89 MB / 495.7 MB, free: 22.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009959/0.5711, allocations: 8.688 kB / 495.7 MB, free: 22.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.5722, allocations: 106.8 kB / 495.8 MB, free: 21.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.5733, allocations: 218.2 kB / 496 MB, free: 21.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02424/0.5976, allocations: 4.986 MB / 0.4893 GB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.5987, allocations: 393.3 kB / 0.4897 GB, free: 19.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.5992, allocations: 175.5 kB / 0.4898 GB, free: 19.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.5996, allocations: 172.6 kB / 0.49 GB, free: 19.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.5999, allocations: 171.9 kB / 0.4902 GB, free: 19.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.5999, allocations: 15.09 kB / 0.4902 GB, free: 19.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.623, allocations: 8.763 MB / 0.4987 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.6231, allocations: 49.67 kB / 0.4988 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.6234, allocations: 102.6 kB / 0.4989 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.6343, allocations: 3.415 MB / 0.5022 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6344, allocations: 4 kB / 0.5022 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.6344, allocations: 0 / 0.5022 GB, free: 12.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.6344, allocations: 3.938 kB / 0.5022 GB, free: 12.81 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.005464/0.6399, allocations: 1.183 MB / 0.5034 GB, free: 11.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.64, allocations: 8.969 kB / 0.5034 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.534e-05/0.64, allocations: 62.84 kB / 0.5034 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.6403, allocations: 54.3 kB / 0.5035 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.6408, allocations: 314.7 kB / 0.5038 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.6408, allocations: 26.31 kB / 0.5038 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-05/0.6409, allocations: 24.5 kB / 0.5038 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.6416, allocations: 327.3 kB / 0.5042 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6416, allocations: 1.375 kB / 0.5042 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.6416, allocations: 11.83 kB / 0.5042 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6416, allocations: 6.875 kB / 0.5042 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.6421, allocations: 210.8 kB / 0.5044 GB, free: 11.21 MB / 382.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.001678/0.6438, allocations: 1.49 MB / 0.5058 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005127/0.6444, allocations: 191.2 kB / 0.506 GB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1425/0.7869, allocations: 64.6 MB / 0.5691 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.7871, allocations: 34.52 kB / 0.5691 GB, free: 2.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/0.7871, allocations: 0 / 0.5691 GB, free: 2.062 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.001508/0.7886, allocations: 406.9 kB / 0.5695 GB, free: 1.637 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.7887, allocations: 51.41 kB / 0.5696 GB, free: 1.574 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.7891, allocations: 357.7 kB / 0.5699 GB, free: 1.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.7891, allocations: 29.7 kB / 0.5699 GB, free: 1.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.7893, allocations: 208 kB / 0.5701 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.766e-05/0.7894, allocations: 55.2 kB / 0.5702 GB, free: 0.918 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.7894, allocations: 4 kB / 0.5702 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7895, allocations: 342.8 kB / 0.5705 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.7897, allocations: 43.98 kB / 0.5706 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.7898, allocations: 109.8 kB / 0.5707 GB, free: 408 kB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: Inertia1.a = $START.Inertia1.a (0.0 = $START.Inertia1.a) Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.7907, allocations: 231.4 kB / 0.5709 GB, free: 160 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7907, allocations: 0 / 0.5709 GB, free: 160 kB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005267/0.7912, allocations: 245.7 kB / 0.5711 GB, free: 15.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.7912, allocations: 8 kB / 0.5711 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7913, allocations: 0 / 0.5711 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.7914, allocations: 24.84 kB / 0.5712 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.7916, allocations: 44.14 kB / 0.5712 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.7933, allocations: 1.297 MB / 0.5725 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002682/0.7935, allocations: 43.77 kB / 0.5725 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.7936, allocations: 4 kB / 0.5725 GB, free: 14.35 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: Inertia1.a = $START.Inertia1.a. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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: 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 prepare postOptimizeDAE: time 0.0003271/0.7939, allocations: 147.4 kB / 0.5726 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.794, allocations: 39.47 kB / 0.5727 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.7949, allocations: 0.6084 MB / 0.5733 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7949, allocations: 3.938 kB / 0.5733 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.7949, allocations: 4 kB / 0.5733 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.7949, allocations: 7.984 kB / 0.5733 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.7965, allocations: 1.065 MB / 0.5743 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.7965, allocations: 0 / 0.5743 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.7967, allocations: 31.98 kB / 0.5744 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.7968, allocations: 28.88 kB / 0.5744 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.7968, allocations: 7.953 kB / 0.5744 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001573/0.7984, allocations: 1.297 MB / 0.5757 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7984, allocations: 0 / 0.5757 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.7997, allocations: 0.674 MB / 0.5763 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.8, allocations: 120.6 kB / 0.5764 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.8, allocations: 8 kB / 0.5764 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.8003, allocations: 11.98 kB / 0.5765 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.755e-05/0.8004, allocations: 15.92 kB / 0.5765 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.8004, allocations: 10.31 kB / 0.5765 GB, free: 10.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004015/0.8008, allocations: 251.2 kB / 0.5767 GB, free: 9.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8008, allocations: 0 / 0.5767 GB, free: 9.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007715/0.8085, allocations: 1.269 MB / 0.578 GB, free: 8.504 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (ST.P_HP,ST.P_LP,Speed1.phi) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01208/0.8207, allocations: 2.472 MB / 0.5804 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007345/0.8214, allocations: 302.7 kB / 0.5807 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8215, allocations: 4 kB / 0.5807 GB, free: 5.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.8218, allocations: 255.8 kB / 0.5809 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.8229, allocations: 164.4 kB / 0.5811 GB, free: 5.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008866/0.8317, allocations: 3.712 MB / 0.5847 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.8322, allocations: 0.8232 MB / 0.5855 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.8326, allocations: 71.45 kB / 0.5856 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.8328, allocations: 139.4 kB / 0.5857 GB, free: 428 kB / 462.1 MB Notification: Performance of SimCode: time 2.455e-06/0.8328, allocations: 0 / 0.5857 GB, free: 428 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/1.16, allocations: 54.38 MB / 0.6388 GB, free: 167.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.16, allocations: 199 kB / 0.639 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/7.884, allocations: 0 / 0.639 GB, free: 167.1 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestST2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestST2.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestST2.pipe 2>&1) Environment - environmentSimulation: