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.0007986/0.0007987, allocations: 92.3 kB / 16.65 MB, free: 6.535 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.0008707/0.0008707, allocations: 173.4 kB / 17.56 MB, free: 6.184 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.167/1.167, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2268/0.2268, allocations: 48.78 MB / 320.8 MB, free: 11.2 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.0004323/0.0004323, allocations: 15.09 kB / 391.9 MB, free: 50 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07255/0.073, allocations: 60.26 MB / 452.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.03692/0.1099, allocations: 44.07 MB / 496.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.128, allocations: 16.72 MB / 0.5009 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003809/0.1285, allocations: 7.938 kB / 0.501 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.129, allocations: 159 kB / 0.5011 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.1294, allocations: 234.6 kB / 0.5013 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.1413, allocations: 5.225 MB / 0.5064 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.1422, allocations: 0.9143 MB / 0.5073 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.1425, allocations: 206.8 kB / 0.5075 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.1427, allocations: 215 kB / 0.5077 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.143, allocations: 250.8 kB / 0.508 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.143, allocations: 20 kB / 0.508 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/0.1552, allocations: 8.927 MB / 0.5167 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.039e-05/0.1553, allocations: 59.64 kB / 0.5168 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.1555, allocations: 224.7 kB / 0.517 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006636/0.1622, allocations: 5.235 MB / 0.5221 GB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1622, allocations: 0 / 0.5221 GB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1622, allocations: 4 kB / 0.5221 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1622, allocations: 3.938 kB / 0.5221 GB, free: 6.402 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.002536/0.1647, allocations: 1.224 MB / 0.5233 GB, free: 5.129 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1648, allocations: 12.03 kB / 0.5233 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.1649, allocations: 70.72 kB / 0.5234 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.1651, allocations: 64.34 kB / 0.5234 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.1654, allocations: 331.3 kB / 0.5237 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.1655, allocations: 24.78 kB / 0.5238 GB, free: 4.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.1655, allocations: 32 kB / 0.5238 GB, free: 4.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.1662, allocations: 384.2 kB / 0.5242 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1662, allocations: 0 / 0.5242 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1663, allocations: 19.98 kB / 0.5242 GB, free: 4.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1663, allocations: 8 kB / 0.5242 GB, free: 4.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005521/0.1668, allocations: 250 kB / 0.5244 GB, free: 3.883 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.001503/0.1683, allocations: 1.635 MB / 0.526 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005788/0.1689, allocations: 222.3 kB / 0.5262 GB, free: 1.879 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1691, allocations: 68.84 kB / 0.5263 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2513/0.4203, allocations: 64.58 MB / 0.5894 GB, free: 30.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4204, allocations: 45.62 kB / 0.5894 GB, free: 30.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.973e-06/0.4204, allocations: 0 / 0.5894 GB, free: 30.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001108/0.4215, allocations: 459.6 kB / 0.5899 GB, free: 30.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.887e-05/0.4215, allocations: 61.12 kB / 0.5899 GB, free: 30.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.4219, allocations: 360.5 kB / 0.5903 GB, free: 30.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4219, allocations: 27.95 kB / 0.5903 GB, free: 29.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.422, allocations: 209.7 kB / 0.5905 GB, free: 29.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.4221, allocations: 65.58 kB / 0.5905 GB, free: 29.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.4221, allocations: 29.77 kB / 0.5906 GB, free: 29.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.4222, allocations: 341.4 kB / 0.5909 GB, free: 29.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4223, allocations: 58.41 kB / 0.591 GB, free: 29.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4224, allocations: 117.5 kB / 0.5911 GB, free: 29.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.4227, allocations: 182.2 kB / 0.5912 GB, free: 29.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4227, allocations: 1.969 kB / 0.5912 GB, free: 29.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004637/0.4231, allocations: 302.9 kB / 0.5915 GB, free: 28.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.4232, allocations: 136.8 kB / 0.5917 GB, free: 28.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.4232, allocations: 7.984 kB / 0.5917 GB, free: 28.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003201/0.4235, allocations: 76.17 kB / 0.5917 GB, free: 28.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4237, allocations: 54.41 kB / 0.5918 GB, free: 28.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/0.4246, allocations: 1.898 MB / 0.5936 GB, free: 26.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.4248, allocations: 38.3 kB / 0.5937 GB, free: 26.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.4248, allocations: 12 kB / 0.5937 GB, free: 26.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.4248, allocations: 9.156 kB / 0.5937 GB, free: 26.62 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003824/0.4252, allocations: 241.4 kB / 0.5939 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.4252, allocations: 0 / 0.5939 GB, free: 26.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.4255, allocations: 81.84 kB / 0.594 GB, free: 26.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4256, allocations: 51.91 kB / 0.5941 GB, free: 26.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000767/0.4264, allocations: 1.891 MB / 0.5959 GB, free: 24.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.4266, allocations: 39.83 kB / 0.5959 GB, free: 24.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.4266, allocations: 19.98 kB / 0.596 GB, free: 24.13 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.0001186/0.4267, allocations: 221 kB / 0.5962 GB, free: 23.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.4268, allocations: 31.62 kB / 0.5962 GB, free: 23.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.4275, allocations: 0.8302 MB / 0.597 GB, free: 23.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.4275, allocations: 11.98 kB / 0.597 GB, free: 23.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.4275, allocations: 0 / 0.597 GB, free: 23.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4275, allocations: 6.953 kB / 0.597 GB, free: 23.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.4279, allocations: 0.5581 MB / 0.5976 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4279, allocations: 0 / 0.5976 GB, free: 22.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4281, allocations: 35.98 kB / 0.5976 GB, free: 22.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.4282, allocations: 28.78 kB / 0.5976 GB, free: 22.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.4282, allocations: 0 / 0.5976 GB, free: 22.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005398/0.4287, allocations: 1.29 MB / 0.5989 GB, free: 20.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4287, allocations: 3.938 kB / 0.5989 GB, free: 20.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/0.4294, allocations: 0.8114 MB / 0.5997 GB, free: 20.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-05/0.4295, allocations: 128.5 kB / 0.5998 GB, free: 19.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.4295, allocations: 7.938 kB / 0.5998 GB, free: 19.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4297, allocations: 20.92 kB / 0.5998 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.4297, allocations: 15.97 kB / 0.5999 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.4297, allocations: 8 kB / 0.5999 GB, free: 19.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.4299, allocations: 251.2 kB / 0.6001 GB, free: 19.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4299, allocations: 0 / 0.6001 GB, free: 19.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002874/0.4328, allocations: 1.352 MB / 0.6014 GB, free: 18.41 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.004852/0.4377, allocations: 2.568 MB / 0.6039 GB, free: 16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000772/0.4385, allocations: 0.6096 MB / 0.6045 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4385, allocations: 8.062 kB / 0.6045 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.4387, allocations: 313 kB / 0.6048 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.4396, allocations: 159.2 kB / 0.605 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.4437, allocations: 4.453 MB / 0.6093 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.4439, allocations: 0.8363 MB / 0.6102 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.4441, allocations: 149.8 kB / 0.6103 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.4443, allocations: 159.4 kB / 0.6105 GB, free: 9.16 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4443, allocations: 0 / 0.6105 GB, free: 9.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07056/0.5149, allocations: 55.3 MB / 0.6645 GB, free: 1.805 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.515, allocations: 232.1 kB / 0.6647 GB, free: 1.535 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.723/5.238, allocations: 0 / 0.6647 GB, free: 1.535 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/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)