Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork",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.001437/0.001437, allocations: 92.2 kB / 16.3 MB, free: 6.457 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.001799/0.001799, allocations: 182.4 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 241.1 MB, free: 5.43 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 8.562 kB / 300.8 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 50.42 MB / 351.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4245/0.543, allocations: 124.8 MB / 476 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08943/0.6325, allocations: 46.36 MB / 0.5101 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01112/0.6437, allocations: 281.8 kB / 0.5104 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009637/0.6534, allocations: 2.286 MB / 0.5126 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03317/0.6866, allocations: 10.19 MB / 0.5225 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04584/0.7325, allocations: 13.9 MB / 0.5361 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02249/0.755, allocations: 11.03 MB / 0.5469 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0098/0.7648, allocations: 4.756 MB / 0.5515 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02691/0.7918, allocations: 13.7 MB / 0.5649 GB, free: 5.195 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02286/0.8147, allocations: 11.98 MB / 0.5766 GB, free: 9.188 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003755/0.8185, allocations: 384 kB / 0.577 GB, free: 8.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02338/0.8419, allocations: 8.818 MB / 0.5856 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006691/0.8486, allocations: 2.805 MB / 0.5883 GB, free: 13.17 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005113/0.8538, allocations: 1.451 MB / 0.5898 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02242/0.8762, allocations: 11.13 MB / 0.6006 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8763, allocations: 4 kB / 0.6006 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8763, allocations: 0 / 0.6006 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004719/0.8767, allocations: 0 / 0.6006 GB, free: 0.5508 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.2636/1.14, allocations: 7.748 MB / 0.6082 GB, free: 178.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.14, allocations: 8.656 kB / 0.6082 GB, free: 178.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003893/1.144, allocations: 0.7841 MB / 0.609 GB, free: 178.2 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.157, allocations: 1.284 MB / 0.6102 GB, free: 177.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01774/1.175, allocations: 4.515 MB / 0.6146 GB, free: 176.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000726/1.175, allocations: 426.6 kB / 0.615 GB, free: 176.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/1.178, allocations: 0.5331 MB / 0.6156 GB, free: 176.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/1.203, allocations: 9.368 MB / 0.6247 GB, free: 172.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001297/1.203, allocations: 22.91 kB / 0.6247 GB, free: 172.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/1.204, allocations: 244 kB / 0.625 GB, free: 172.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009261/1.205, allocations: 0.699 MB / 0.6257 GB, free: 172 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01993/1.225, allocations: 8.218 MB / 0.6337 GB, free: 167.9 MB / 478.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.06452/1.289, allocations: 39.34 MB / 0.6721 GB, free: 127.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.301, allocations: 6.242 MB / 0.6782 GB, free: 121.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005818/1.307, allocations: 6.599 MB / 0.6846 GB, free: 113.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/1.307, allocations: 98.92 kB / 0.6847 GB, free: 113.1 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006771/1.314, allocations: 1.292 MB / 0.686 GB, free: 111.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=500): time 2.543e-05/1.314, allocations: 0 / 0.686 GB, free: 111.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=632): time 0.1684/1.483, allocations: 52.08 MB / 0.7369 GB, free: 60.04 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.202e-05/1.483, allocations: 167.8 kB / 0.737 GB, free: 59.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006719/1.489, allocations: 4.872 MB / 0.7418 GB, free: 55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002006/1.492, allocations: 145.7 kB / 0.7419 GB, free: 54.86 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/1.493, allocations: 2.977 MB / 0.7448 GB, free: 51.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002806/1.496, allocations: 2.165 MB / 0.7469 GB, free: 49.72 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005002/1.497, allocations: 148 kB / 0.7471 GB, free: 49.58 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003457/1.497, allocations: 0.588 MB / 0.7477 GB, free: 48.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005767/1.503, allocations: 3.937 MB / 0.7515 GB, free: 45.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007101/1.51, allocations: 5.629 MB / 0.757 GB, free: 38.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/1.518, allocations: 4.894 MB / 0.7618 GB, free: 33.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.266e-05/1.518, allocations: 12 kB / 0.7618 GB, free: 33.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02321/1.541, allocations: 12.54 MB / 0.774 GB, free: 21.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2276/1.769, allocations: 21.45 MB / 0.795 GB, free: 159.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.769, allocations: 45.16 kB / 0.795 GB, free: 159.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02867/1.798, allocations: 5.124 MB / 0.8 GB, free: 159.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006725/1.805, allocations: 1.371 MB / 0.8014 GB, free: 159.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/1.817, allocations: 17.4 MB / 0.8184 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/1.826, allocations: 494.8 kB / 0.8188 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/1.828, allocations: 422 kB / 0.8192 GB, free: 147.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.828, allocations: 7.875 kB / 0.8192 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02342/1.851, allocations: 12.05 MB / 0.831 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/1.851, allocations: 47.16 kB / 0.8311 GB, free: 144.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/1.862, allocations: 3.39 MB / 0.8344 GB, free: 143 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00647/1.868, allocations: 1.407 MB / 0.8357 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/1.887, allocations: 22.24 MB / 0.8575 GB, free: 123.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008837/1.896, allocations: 490.2 kB / 0.8579 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/1.899, allocations: 407.8 kB / 0.8583 GB, free: 122.5 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 204 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (762): * Single equations (assignments): 739 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.005839/1.904, allocations: 1.933 MB / 0.8602 GB, free: 120.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/1.906, allocations: 0.6474 MB / 0.8608 GB, free: 120.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.935, allocations: 18.49 MB / 0.8789 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.674e-05/1.935, allocations: 64 kB / 0.879 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/1.935, allocations: 0 / 0.879 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01462/1.95, allocations: 9.679 MB / 0.8884 GB, free: 92.14 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04915/1.999, allocations: 24.71 MB / 0.9125 GB, free: 67.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.341e-05/1.999, allocations: 16 kB / 0.9126 GB, free: 67.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004245/2.003, allocations: 0.8736 MB / 0.9134 GB, free: 66.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0254/2.029, allocations: 5.501 MB / 0.9188 GB, free: 60.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001776/2.03, allocations: 223.9 kB / 0.919 GB, free: 60.56 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/2.042, allocations: 17.37 MB / 0.936 GB, free: 42.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.597e-05/2.042, allocations: 19.94 kB / 0.936 GB, free: 42.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02931/2.071, allocations: 19.23 MB / 0.9547 GB, free: 22.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007494/2.079, allocations: 1.655 MB / 0.9564 GB, free: 20.93 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002859/2.082, allocations: 164 kB / 0.9565 GB, free: 20.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006168/2.088, allocations: 323.4 kB / 0.9568 GB, free: 20.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001237/2.089, allocations: 455.9 kB / 0.9573 GB, free: 20.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008169/2.09, allocations: 323.8 kB / 0.9576 GB, free: 19.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004736/2.095, allocations: 3.215 MB / 0.9607 GB, free: 16.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.9e-07/2.095, allocations: 0 / 0.9607 GB, free: 16.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01835/2.113, allocations: 4.873 MB / 0.9655 GB, free: 12.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.2906/2.404, allocations: 25.18 MB / 0.9901 GB, free: 152.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02914/2.433, allocations: 15.63 MB / 1.005 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.158e-05/2.433, allocations: 6.656 kB / 1.005 GB, free: 148.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009009/2.442, allocations: 4.883 MB / 1.01 GB, free: 146.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0137/2.456, allocations: 2.637 MB / 1.013 GB, free: 146.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/2.508, allocations: 57.86 MB / 1.069 GB, free: 93.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004865/2.513, allocations: 4.511 MB / 1.074 GB, free: 88.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01788/2.531, allocations: 9.118 MB / 1.082 GB, free: 79.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0064/2.538, allocations: 3.174 MB / 1.086 GB, free: 76.27 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/2.538, allocations: 0 / 1.086 GB, free: 76.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5386/3.076, allocations: 236.5 MB / 1.317 GB, free: 6.219 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/3.076, allocations: 260.6 kB / 1.317 GB, free: 5.879 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.636/12.71, allocations: 0 / 1.317 GB, free: 5.879 MB / 478.1 MB (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat