Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesAndFittings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesAndFittings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001531/0.001531, allocations: 200.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 226.5 MB / 243.4 MB, free: 8.117 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007866/0.0007867, allocations: 92.62 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2742/0.2742, allocations: 44.81 MB / 392.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002414/0.0002414, allocations: 11.94 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2779, allocations: 62.96 MB / 0.516 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings): time 0.4825/0.7605, allocations: 283.5 MB / 0.7928 GB, free: 3.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.102/0.8625, allocations: 86.08 MB / 0.8769 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008868/0.8714, allocations: 313.5 kB / 0.8772 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.01024/0.8816, allocations: 3.243 MB / 0.8803 GB, free: 14.99 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.03348/0.9151, allocations: 13.28 MB / 0.8933 GB, free: 1.672 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.3876/1.303, allocations: 23.47 MB / 0.9162 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0495/1.352, allocations: 49.03 MB / 0.9641 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01839/1.371, allocations: 8.907 MB / 0.9728 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1147/1.485, allocations: 80.62 MB / 1.052 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.114/1.599, allocations: 83.88 MB / 1.133 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.006363/1.606, allocations: 0.8672 MB / 1.134 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03937/1.645, allocations: 15.92 MB / 1.15 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.01331/1.659, allocations: 7.972 MB / 1.158 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02864/1.687, allocations: 10.85 MB / 1.168 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.7421/2.429, allocations: 31.3 MB / 1.199 GB, free: 147 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/2.43, allocations: 0.5312 kB / 1.199 GB, free: 147 MB / 0.7449 GB Notification: Performance of FrontEnd: time 2.695e-06/2.43, allocations: 1.562 kB / 1.199 GB, free: 147 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.001345/2.431, allocations: 0 / 1.199 GB, free: 147 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5664 * Number of variables: 5664 Notification: Performance of Generate backend data structure: time 0.08825/2.519, allocations: 24.98 MB / 1.223 GB, free: 139.3 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/2.519, allocations: 12.22 kB / 1.223 GB, free: 139.3 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01305/2.532, allocations: 2.756 MB / 1.226 GB, free: 139.2 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04485/2.577, allocations: 6.603 MB / 1.232 GB, free: 138 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/2.607, allocations: 10.97 MB / 1.243 GB, free: 135.4 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0029/2.61, allocations: 1.723 MB / 1.245 GB, free: 135.3 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01087/2.621, allocations: 1.71 MB / 1.246 GB, free: 135.3 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1076/2.729, allocations: 39.11 MB / 1.285 GB, free: 124.4 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001288/2.73, allocations: 69.58 kB / 1.285 GB, free: 124.4 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0104/2.74, allocations: 0.7171 MB / 1.285 GB, free: 124.4 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/2.743, allocations: 2.708 MB / 1.288 GB, free: 122.3 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09315/2.836, allocations: 39.98 MB / 1.327 GB, free: 94.19 MB / 0.7449 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.4932/3.329, allocations: 150.8 MB / 1.474 GB, free: 317.4 MB / 0.7762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05671/3.386, allocations: 25.64 MB / 1.499 GB, free: 315.7 MB / 0.7762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02406/3.41, allocations: 13.36 MB / 1.512 GB, free: 314.5 MB / 0.7762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01735/3.428, allocations: 9.691 MB / 1.522 GB, free: 308.4 MB / 0.7762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/3.428, allocations: 219.1 kB / 1.522 GB, free: 308.2 MB / 0.7762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01164/3.44, allocations: 1.504 MB / 1.524 GB, free: 307.8 MB / 0.7762 GB Notification: Performance of pre-optimization done (n=1641): time 3.741e-05/3.44, allocations: 0 / 1.524 GB, free: 307.8 MB / 0.7762 GB Notification: Performance of matching and sorting (n=1889): time 0.4655/3.905, allocations: 151.4 MB / 1.671 GB, free: 189.5 MB / 0.7762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/3.905, allocations: 447.9 kB / 1.672 GB, free: 189 MB / 0.7762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0197/3.925, allocations: 11.91 MB / 1.683 GB, free: 177.2 MB / 0.7762 GB Notification: Performance of collectPreVariables (initialization): time 0.004607/3.93, allocations: 357.7 kB / 1.684 GB, free: 176.8 MB / 0.7762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004862/3.935, allocations: 8.331 MB / 1.692 GB, free: 168.5 MB / 0.7762 GB Notification: Performance of collectInitialBindings (initialization): time 0.007281/3.942, allocations: 6.515 MB / 1.698 GB, free: 162.1 MB / 0.7762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0044/3.946, allocations: 448 kB / 1.699 GB, free: 161.7 MB / 0.7762 GB Notification: Performance of setup shared object (initialization): time 4.302e-05/3.946, allocations: 305.1 kB / 1.699 GB, free: 161.4 MB / 0.7762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02768/3.974, allocations: 14.36 MB / 1.713 GB, free: 147 MB / 0.7762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03032/4.004, allocations: 19.57 MB / 1.732 GB, free: 125.4 MB / 0.7762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04999/4.054, allocations: 34.2 MB / 1.766 GB, free: 89.38 MB / 0.7762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/4.055, allocations: 40 kB / 1.766 GB, free: 89.34 MB / 0.7762 GB Notification: Performance of matching and sorting (n=2832) (initialization): time 0.07567/4.13, allocations: 39.91 MB / 1.805 GB, free: 49.01 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001861/4.132, allocations: 4.491 MB / 1.809 GB, free: 42.45 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000201/4.132, allocations: 148 kB / 1.809 GB, free: 42.31 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01699/4.149, allocations: 5.435 MB / 1.814 GB, free: 36.64 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.292/4.441, allocations: 5.716 MB / 1.82 GB, free: 333.3 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0317/4.473, allocations: 61.55 MB / 1.88 GB, free: 281.2 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02773/4.501, allocations: 2.904 MB / 1.883 GB, free: 281.2 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005755/4.507, allocations: 1.028 MB / 1.884 GB, free: 281.2 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 9.998e-06/4.507, allocations: 3.656 kB / 1.884 GB, free: 281.2 MB / 0.7762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07322/4.58, allocations: 36.67 MB / 1.92 GB, free: 271.6 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004309/4.58, allocations: 150.1 kB / 1.92 GB, free: 271.6 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/4.594, allocations: 4.68 MB / 1.924 GB, free: 270 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02464/4.619, allocations: 5.653 MB / 1.93 GB, free: 269.5 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02672/4.646, allocations: 59.75 MB / 1.988 GB, free: 214.7 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02364/4.669, allocations: 2.807 MB / 1.991 GB, free: 214.3 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005216/4.675, allocations: 0.9902 MB / 1.992 GB, free: 213.7 MB / 0.7762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 92 (pipe12.state_b.phase,pipe12.state_a.phase,pipe11.state_a.phase,pipe10.state_b.phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe9.statesFM[2].phase,pipe9.statesFM[3].phase,pipe9.statesFM[4].phase,pipe9.statesFM[5].phase,pipe9.statesFM[6].phase,boundary5.medium.phase,pipe10.statesFM[1].phase,pipe10.statesFM[2].phase,pipe10.statesFM[3].phase,pipe10.statesFM[4].phase,pipe10.statesFM[5].phase,pipe11.statesFM[2].phase,pipe11.statesFM[3].phase,pipe11.statesFM[4].phase,pipe11.statesFM[5].phase,pipe11.statesFM[6].phase,boundary6.medium.phase,pipe12.statesFM[2].phase,pipe12.statesFM[3].phase,pipe12.statesFM[4].phase,pipe12.statesFM[5].phase,pipe12.statesFM[6].phase,pipe8.state_b.phase,pipe8.state_a.phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe5.statesFM[1].phase,pipe5.statesFM[2].phase,pipe5.statesFM[3].phase,pipe5.statesFM[4].phase,pipe5.statesFM[5].phase,boundary4.medium.phase,pipe6.statesFM[2].phase,pipe6.statesFM[3].phase,pipe6.statesFM[4].phase,pipe6.statesFM[5].phase,pipe6.statesFM[6].phase,pipe7.statesFM[2].phase,pipe7.statesFM[3].phase,pipe7.statesFM[4].phase,pipe7.statesFM[5].phase,pipe7.statesFM[6].phase,boundary3.medium.phase,pipe8.statesFM[2].phase,pipe8.statesFM[3].phase,pipe8.statesFM[4].phase,pipe8.statesFM[5].phase,pipe8.statesFM[6].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe2.statesFM[6].phase,boundary2.medium.phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,boundary1.medium.phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,junction1.medium.phase,junction2.medium.phase,pipe11.state_b.phase,pipe10.state_a.phase,pipe5.state_b.phase,pipe5.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2735): * Single equations (assignments): 2656 * 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: 79 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 64 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 9,1 1,1 1,2 9,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.01794/4.693, allocations: 6.151 MB / 1.998 GB, free: 208.5 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005436/4.698, allocations: 1.478 MB / 1.999 GB, free: 207.8 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09125/4.789, allocations: 68.45 MB / 2.066 GB, free: 148.2 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005181/4.79, allocations: 0.7723 MB / 2.067 GB, free: 147.4 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/4.79, allocations: 8 kB / 2.067 GB, free: 147.4 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07814/4.868, allocations: 58.84 MB / 2.125 GB, free: 88.11 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4438/5.312, allocations: 103.5 MB / 2.226 GB, free: 308.1 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00021/5.312, allocations: 1.031 kB / 2.226 GB, free: 308.1 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0219/5.334, allocations: 4.457 MB / 2.23 GB, free: 308.1 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02542/5.36, allocations: 8.48 MB / 2.238 GB, free: 307.3 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004809/5.364, allocations: 0.6635 MB / 2.239 GB, free: 307.3 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02936/5.394, allocations: 63.89 MB / 2.301 GB, free: 254.6 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/5.394, allocations: 1.344 kB / 2.301 GB, free: 254.6 MB / 0.7762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1241/5.518, allocations: 79.14 MB / 2.379 GB, free: 219.9 MB / 0.7762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006988/5.525, allocations: 3.044 MB / 2.382 GB, free: 217.1 MB / 0.7762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007749/5.533, allocations: 0.5191 MB / 2.382 GB, free: 216.6 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01997/5.553, allocations: 2.259 MB / 2.384 GB, free: 215 MB / 0.7762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007561/5.56, allocations: 1.916 MB / 2.386 GB, free: 213.9 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00418/5.565, allocations: 0.673 MB / 2.387 GB, free: 213.3 MB / 0.7762 GB Notification: Performance of sorting global known variables: time 0.01371/5.578, allocations: 8.103 MB / 2.395 GB, free: 206.7 MB / 0.7762 GB Notification: Performance of sort global known variables: time 1.744e-06/5.578, allocations: 0 / 2.395 GB, free: 206.7 MB / 0.7762 GB Notification: Performance of remove unused functions: time 0.059/5.637, allocations: 13.57 MB / 2.408 GB, free: 193.6 MB / 0.7762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 124 (pipe9.mediums[1].p,pipe9.mediums[1].h,pipe9.mediums[2].p,pipe9.mediums[2].h,pipe9.mediums[3].p,pipe9.mediums[3].h,pipe9.mediums[4].p,pipe9.mediums[4].h,pipe9.mediums[5].p,pipe9.mediums[5].h,pipe10.mediums[1].p,pipe10.mediums[1].h,pipe10.mediums[2].p,pipe10.mediums[2].h,pipe10.mediums[3].p,pipe10.mediums[3].h,pipe10.mediums[4].p,pipe10.mediums[4].h,pipe10.mediums[5].p,pipe10.mediums[5].h,pipe11.mediums[1].p,pipe11.mediums[1].h,pipe11.mediums[2].p,pipe11.mediums[2].h,pipe11.mediums[3].p,pipe11.mediums[3].h,pipe11.mediums[4].p,pipe11.mediums[4].h,pipe11.mediums[5].p,pipe11.mediums[5].h,pipe12.mediums[1].p,pipe12.mediums[1].h,pipe12.mediums[2].p,pipe12.mediums[2].h,pipe12.mediums[3].p,pipe12.mediums[3].h,pipe12.mediums[4].p,pipe12.mediums[4].h,pipe12.mediums[5].p,pipe12.mediums[5].h,pipe5.mediums[1].p,pipe5.mediums[1].h,pipe5.mediums[2].p,pipe5.mediums[2].h,pipe5.mediums[3].p,pipe5.mediums[3].h,pipe5.mediums[4].p,pipe5.mediums[4].h,pipe5.mediums[5].p,pipe5.mediums[5].h,pipe6.mediums[1].p,pipe6.mediums[1].h,pipe6.mediums[2].p,pipe6.mediums[2].h,pipe6.mediums[3].p,pipe6.mediums[3].h,pipe6.mediums[4].p,pipe6.mediums[4].h,pipe6.mediums[5].p,pipe6.mediums[5].h,pipe7.mediums[1].p,pipe7.mediums[1].h,pipe7.mediums[2].p,pipe7.mediums[2].h,pipe7.mediums[3].p,pipe7.mediums[3].h,pipe7.mediums[4].p,pipe7.mediums[4].h,pipe7.mediums[5].p,pipe7.mediums[5].h,pipe8.mediums[1].p,pipe8.mediums[1].h,pipe8.mediums[2].p,pipe8.mediums[2].h,pipe8.mediums[3].p,pipe8.mediums[3].h,pipe8.mediums[4].p,pipe8.mediums[4].h,pipe8.mediums[5].p,pipe8.mediums[5].h,pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,junction1.medium.p,junction1.medium.h,junction2.medium.p,junction2.medium.h) * Number of discrete variables: 376 ($cse207.region3boundary,$cse208.region3boundary,$cse209.phase,$cse209.region,$cse210.region3boundary,$cse211.region3boundary,$cse212.phase,$cse212.region,$cse213.region3boundary,$cse214.region3boundary,$cse215.phase,$cse215.region,$cse216.region3boundary,$cse217.region3boundary,$cse218.phase,$cse218.region,$cse219.region3boundary,$cse220.region3boundary,$cse221.phase,$cse221.region,$cse228.region3boundary,$cse229.region3boundary,$cse230.phase,$cse230.region,$cse231.phase,$cse231.region,$cse232.region3boundary,$cse233.region3boundary,$cse234.phase,$cse234.region,$cse235.region3boundary,$cse236.region3boundary,$cse237.phase,$cse237.region,$cse238.region3boundary,$cse239.region3boundary,$cse240.phase,$cse240.region,$cse241.region3boundary,$cse242.region3boundary,$cse243.phase,$cse243.region,$cse244.region3boundary,$cse245.region3boundary,$cse246.phase,$cse246.region,$cse252.phase,$cse252.region,$cse253.phase,$cse253.region,$cse254.region3boundary,$cse255.region3boundary,$cse256.phase,$cse256.region,$cse257.region3boundary,$cse258.region3boundary,$cse259.phase,$cse259.region,$cse260.region3boundary,$cse261.region3boundary,$cse262.phase,$cse262.region,$cse263.region3boundary,$cse264.region3boundary,$cse265.phase,$cse265.region,$cse266.region3boundary,$cse267.region3boundary,$cse268.phase,$cse268.region,$cse274.phase,$cse274.region,$cse275.phase,$cse275.region,$cse278.phase,$cse278.region,$cse280.region3boundary,$cse281.region3boundary,$cse282.phase,$cse282.region,$cse283.region3boundary,$cse284.region3boundary,$cse285.phase,$cse285.region,$cse286.region3boundary,$cse287.region3boundary,$cse288.phase,$cse288.region,$cse289.region3boundary,$cse290.region3boundary,$cse291.phase,$cse291.region,$cse292.region3boundary,$cse293.region3boundary,$cse294.phase,$cse294.region,$cse301.phase,$cse301.region,$cse302.phase,$cse302.region,pipe9.statesFM[2].phase,pipe9.statesFM[3].phase,pipe9.statesFM[4].phase,pipe9.statesFM[5].phase,pipe9.statesFM[6].phase,boundary5.medium.phase,pipe10.statesFM[1].phase,pipe10.statesFM[2].phase,pipe10.statesFM[3].phase,pipe10.statesFM[4].phase,pipe10.statesFM[5].phase,pipe11.statesFM[2].phase,pipe11.statesFM[3].phase,pipe11.statesFM[4].phase,pipe11.statesFM[5].phase,pipe11.statesFM[6].phase,boundary6.medium.phase,pipe12.statesFM[2].phase,pipe12.statesFM[3].phase,pipe12.statesFM[4].phase,pipe12.statesFM[5].phase,pipe12.statesFM[6].phase,$cse103.region3boundary,$cse104.region3boundary,$cse105.phase,$cse105.region,$cse106.region3boundary,$cse107.region3boundary,$cse108.phase,$cse108.region,$cse109.region3boundary,$cse110.region3boundary,$cse111.phase,$cse111.region,$cse112.region3boundary,$cse113.region3boundary,$cse114.phase,$cse114.region,$cse115.region3boundary,$cse116.region3boundary,$cse117.phase,$cse117.region,$cse122.phase,$cse122.region,$cse125.phase,$cse125.region,$cse128.region3boundary,$cse129.region3boundary,$cse130.phase,$cse130.region,$cse131.phase,$cse131.region,$cse132.region3boundary,$cse133.region3boundary,$cse134.phase,$cse134.region,$cse135.region3boundary,$cse136.region3boundary,$cse137.phase,$cse137.region,$cse138.region3boundary,$cse139.region3boundary,$cse140.phase,$cse140.region,$cse141.region3boundary,$cse142.region3boundary,$cse143.phase,$cse143.region,$cse144.region3boundary,$cse145.region3boundary,$cse146.phase,$cse146.region,$cse153.phase,$cse153.region,$cse155.phase,$cse155.region,$cse156.region3boundary,$cse157.region3boundary,$cse158.phase,$cse158.region,$cse159.region3boundary,$cse160.region3boundary,$cse161.phase,$cse161.region,$cse162.region3boundary,$cse163.region3boundary,$cse164.phase,$cse164.region,$cse165.region3boundary,$cse166.region3boundary,$cse167.phase,$cse167.region,$cse168.region3boundary,$cse169.region3boundary,$cse170.phase,$cse170.region,$cse177.phase,$cse177.region,$cse178.phase,$cse178.region,$cse182.phase,$cse182.region,$cse184.region3boundary,$cse185.region3boundary,$cse186.phase,$cse186.region,$cse187.region3boundary,$cse188.region3boundary,$cse189.phase,$cse189.region,$cse190.region3boundary,$cse191.region3boundary,$cse192.phase,$cse192.region,$cse193.region3boundary,$cse194.region3boundary,$cse195.phase,$cse195.region,$cse196.region3boundary,$cse197.region3boundary,$cse198.phase,$cse198.region,$cse205.phase,$cse205.region,$cse206.phase,$cse206.region,pipe5.statesFM[1].phase,pipe5.statesFM[2].phase,pipe5.statesFM[3].phase,pipe5.statesFM[4].phase,pipe5.statesFM[5].phase,boundary4.medium.phase,pipe6.statesFM[2].phase,pipe6.statesFM[3].phase,pipe6.statesFM[4].phase,pipe6.statesFM[5].phase,pipe6.statesFM[6].phase,pipe7.statesFM[2].phase,pipe7.statesFM[3].phase,pipe7.statesFM[4].phase,pipe7.statesFM[5].phase,pipe7.statesFM[6].phase,boundary3.medium.phase,pipe8.statesFM[2].phase,pipe8.statesFM[3].phase,pipe8.statesFM[4].phase,pipe8.statesFM[5].phase,pipe8.statesFM[6].phase,$cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.region3boundary,$cse33.region3boundary,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse47.phase,$cse47.region,$cse48.region3boundary,$cse49.region3boundary,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.region3boundary,$cse55.region3boundary,$cse56.phase,$cse56.region,$cse57.region3boundary,$cse58.region3boundary,$cse59.phase,$cse59.region,$cse60.region3boundary,$cse61.region3boundary,$cse62.phase,$cse62.region,$cse69.phase,$cse69.region,$cse72.phase,$cse72.region,$cse74.region3boundary,$cse75.region3boundary,$cse76.phase,$cse76.region,$cse77.region3boundary,$cse78.region3boundary,$cse79.phase,$cse79.region,$cse80.region3boundary,$cse81.region3boundary,$cse82.phase,$cse82.region,$cse83.region3boundary,$cse84.region3boundary,$cse85.phase,$cse85.region,$cse86.region3boundary,$cse87.region3boundary,$cse88.phase,$cse88.region,$cse95.phase,$cse95.region,$cse96.phase,$cse96.region,$cse97.region3boundary,$cse98.region3boundary,$cse99.phase,$cse99.region,$cse100.region3boundary,$cse101.region3boundary,$cse102.phase,$cse102.region,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe2.statesFM[6].phase,boundary2.medium.phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,boundary1.medium.phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,junction1.medium.phase,junction2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2075): * Single equations (assignments): 1781 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 215 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 79 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 64 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 16,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,2 16,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1416/5.779, allocations: 83.19 MB / 2.489 GB, free: 114.4 MB / 0.7762 GB Notification: Performance of simCode: created initialization part: time 0.1054/5.884, allocations: 62.76 MB / 2.55 GB, free: 51.26 MB / 0.7762 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/5.884, allocations: 9.719 kB / 2.55 GB, free: 51.25 MB / 0.7762 GB Notification: Performance of simCode: created simulation system equations: time 0.3297/6.214, allocations: 28.08 MB / 2.578 GB, free: 332.6 MB / 0.7762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04789/6.262, allocations: 6.798 MB / 2.585 GB, free: 332.5 MB / 0.7762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4493/6.711, allocations: 251 MB / 2.83 GB, free: 135.5 MB / 0.7762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/6.735, allocations: 14.48 MB / 2.844 GB, free: 121 MB / 0.7762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02421/6.759, allocations: 12.78 MB / 2.856 GB, free: 108.2 MB / 0.7762 GB Notification: Performance of SimCode: time 1.052e-06/6.759, allocations: 0 / 2.856 GB, free: 108.2 MB / 0.7762 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 67.63/74.39, allocations: 8.306 GB / 11.16 GB, free: 205.3 MB / 0.7762 GB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesAndFittings_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Pipes_DynamicPipesAndFittings.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.DynamicPipesAndFittings_res.mat does not exist to compare? outputFormat=mat