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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 174.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 93.83 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.098e-05, allocations: 4 kB / 343.9 MB, free: 4.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.139, allocations: 50.41 MB / 394.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9065/1.046, allocations: 276.3 MB / 0.6549 GB, free: 38.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/1.046, allocations: 82.77 kB / 0.655 GB, free: 38.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103/8.15, allocations: 1.52 GB / 2.175 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.116e-06/8.15, allocations: 3.938 kB / 2.175 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001341/8.151, allocations: 195.8 kB / 2.175 GB, free: 9.984 MB / 0.5261 GB 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.04437/8.195, allocations: 8.053 MB / 2.183 GB, free: 1.852 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.922e-05/8.195, allocations: 8.031 kB / 2.183 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006302/8.202, allocations: 0.7737 MB / 2.184 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6354/8.837, allocations: 1.274 MB / 2.185 GB, free: 26.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/8.863, allocations: 6.295 MB / 2.191 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007306/8.864, allocations: 429 kB / 2.192 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00458/8.869, allocations: 0.5361 MB / 2.192 GB, free: 25.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04174/8.91, allocations: 9.319 MB / 2.201 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003064/8.911, allocations: 19.91 kB / 2.201 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003343/8.914, allocations: 243.6 kB / 2.202 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/8.915, allocations: 0.5927 MB / 2.202 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02811/8.943, allocations: 7.907 MB / 2.21 GB, free: 24.19 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09342/9.037, allocations: 34.97 MB / 2.244 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01639/9.053, allocations: 6.016 MB / 2.25 GB, free: 25.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009118/9.063, allocations: 3.617 MB / 2.253 GB, free: 25.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00775/9.07, allocations: 5.167 MB / 2.258 GB, free: 19.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/9.071, allocations: 98.2 kB / 2.259 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01131/9.082, allocations: 1.678 MB / 2.26 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 7.037e-05/9.082, allocations: 0 / 2.26 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1792/9.261, allocations: 43.08 MB / 2.302 GB, free: 17.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/9.262, allocations: 169.5 kB / 2.302 GB, free: 17.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01449/9.276, allocations: 4.197 MB / 2.307 GB, free: 16.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003127/9.279, allocations: 145.5 kB / 2.307 GB, free: 16.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004415/9.284, allocations: 2.972 MB / 2.31 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005271/9.289, allocations: 2.162 MB / 2.312 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/9.29, allocations: 145.5 kB / 2.312 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0007486/9.291, allocations: 0.5891 MB / 2.312 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007662/9.299, allocations: 3.803 MB / 2.316 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/9.311, allocations: 5.426 MB / 2.321 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/9.323, allocations: 4.757 MB / 2.326 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/9.323, allocations: 13.75 kB / 2.326 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04106/9.365, allocations: 12.21 MB / 2.338 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01089/9.375, allocations: 20.35 MB / 2.358 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/9.376, allocations: 42.44 kB / 2.358 GB, free: 13.57 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03344/9.409, allocations: 5.145 MB / 2.363 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008608/9.418, allocations: 1.352 MB / 2.364 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/9.438, allocations: 17.37 MB / 2.381 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/9.45, allocations: 0.51 MB / 2.382 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003839/9.454, allocations: 416.6 kB / 2.382 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/9.454, allocations: 3.375 kB / 2.382 GB, free: 14.4 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04021/9.494, allocations: 11.71 MB / 2.394 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002249/9.495, allocations: 47.95 kB / 2.394 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/9.507, allocations: 3.258 MB / 2.397 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00856/9.515, allocations: 1.379 MB / 2.398 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6749/10.19, allocations: 21.88 MB / 2.419 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/10.2, allocations: 493.1 kB / 2.42 GB, free: 69.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004816/10.21, allocations: 403.9 kB / 2.42 GB, free: 69.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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.0059/10.21, allocations: 0.5075 MB / 2.421 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00343/10.22, allocations: 0.6459 MB / 2.421 GB, free: 69.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04753/10.26, allocations: 18.26 MB / 2.439 GB, free: 68.57 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.182e-05/10.27, allocations: 63.44 kB / 2.439 GB, free: 68.57 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.3e-05/10.27, allocations: 1.906 kB / 2.439 GB, free: 68.57 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0238/10.29, allocations: 9.445 MB / 2.449 GB, free: 67.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07267/10.36, allocations: 24.45 MB / 2.472 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000118/10.36, allocations: 15.69 kB / 2.472 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005398/10.37, allocations: 0.8677 MB / 2.473 GB, free: 65.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02855/10.4, allocations: 5.421 MB / 2.479 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002729/10.4, allocations: 220.9 kB / 2.479 GB, free: 65.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/10.41, allocations: 17.38 MB / 2.496 GB, free: 53.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.838e-05/10.41, allocations: 26.97 kB / 2.496 GB, free: 53.46 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04636/10.46, allocations: 18.92 MB / 2.514 GB, free: 48.94 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009539/10.47, allocations: 1.654 MB / 2.516 GB, free: 48.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004544/10.48, allocations: 168.4 kB / 2.516 GB, free: 48.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008709/10.48, allocations: 341.1 kB / 2.516 GB, free: 48.49 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002568/10.49, allocations: 453.4 kB / 2.517 GB, free: 48.47 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002354/10.49, allocations: 321.7 kB / 2.517 GB, free: 48.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00853/10.5, allocations: 3.146 MB / 2.52 GB, free: 48.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.11e-07/10.5, allocations: 0.875 kB / 2.52 GB, free: 48.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03145/10.53, allocations: 5.106 MB / 2.525 GB, free: 48.27 MB / 0.5886 GB 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 () * 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,12 63} Notification: Performance of Backend phase and start with SimCode phase: time 0.05815/10.59, allocations: 25.13 MB / 2.55 GB, free: 37 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04404/10.63, allocations: 15.44 MB / 2.565 GB, free: 32.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.772e-05/10.63, allocations: 9.156 kB / 2.565 GB, free: 32.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/10.65, allocations: 4.792 MB / 2.569 GB, free: 30.65 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02106/10.67, allocations: 2.637 MB / 2.572 GB, free: 30.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06448/10.73, allocations: 17.14 MB / 2.589 GB, free: 23.66 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/10.74, allocations: 4.513 MB / 2.593 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02944/10.77, allocations: 9.745 MB / 2.603 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008452/10.77, allocations: 3.097 MB / 2.606 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.653e-06/10.77, allocations: 0 / 2.606 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.613/12.39, allocations: 246.1 MB / 2.846 GB, free: 84.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/12.39, allocations: 229.9 kB / 2.846 GB, free: 84.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/23.83, allocations: 3.938 kB / 2.846 GB, free: 84.24 MB / 0.6042 GB (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