Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 223.1 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008452/0.0008453, allocations: 97.41 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002835, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2562, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5081/0.7643, allocations: 280.6 MB / 0.6411 GB, free: 8.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.7646, allocations: 77.84 kB / 0.6412 GB, free: 8.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.717/8.482, allocations: 1.682 GB / 2.323 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.607e-06/8.482, allocations: 0 / 2.323 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001217/8.483, allocations: 198.7 kB / 2.323 GB, free: 24.89 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.06062/8.544, allocations: 11.33 MB / 2.334 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/8.544, allocations: 8.219 kB / 2.334 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006903/8.551, allocations: 0.794 MB / 2.335 GB, free: 20.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/8.567, allocations: 1.287 MB / 2.336 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02877/8.596, allocations: 6.359 MB / 2.343 GB, free: 18.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001355/8.597, allocations: 430.9 kB / 2.343 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004683/8.602, allocations: 0.5367 MB / 2.344 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03616/8.638, allocations: 9.458 MB / 2.353 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005524/8.639, allocations: 15.12 kB / 2.353 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004292/8.643, allocations: 249.1 kB / 2.353 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/8.644, allocations: 0.5904 MB / 2.354 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0284/8.673, allocations: 8.123 MB / 2.362 GB, free: 17.12 MB / 0.5261 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.09354/8.766, allocations: 34.95 MB / 2.396 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/8.784, allocations: 6.179 MB / 2.402 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009284/8.794, allocations: 4.758 MB / 2.406 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/8.794, allocations: 98.77 kB / 2.406 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01121/8.805, allocations: 1.683 MB / 2.408 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 5.345e-05/8.805, allocations: 0 / 2.408 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1813/8.987, allocations: 50.8 MB / 2.458 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002029/8.987, allocations: 166 kB / 2.458 GB, free: 8.691 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/8.999, allocations: 4.251 MB / 2.462 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003573/9.003, allocations: 147.4 kB / 2.462 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004654/9.007, allocations: 2.972 MB / 2.465 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004919/9.012, allocations: 2.159 MB / 2.467 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002315/9.015, allocations: 147.9 kB / 2.467 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008481/9.016, allocations: 0.5848 MB / 2.468 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008851/9.024, allocations: 3.926 MB / 2.472 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/9.036, allocations: 5.577 MB / 2.477 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/9.047, allocations: 4.854 MB / 2.482 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.861e-05/9.047, allocations: 10.78 kB / 2.482 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.03631/9.083, allocations: 12.46 MB / 2.494 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.5971/9.68, allocations: 20.34 MB / 2.514 GB, free: 61.76 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000224/9.68, allocations: 46.62 kB / 2.514 GB, free: 61.76 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03406/9.715, allocations: 5.268 MB / 2.519 GB, free: 61.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007322/9.722, allocations: 1.354 MB / 2.52 GB, free: 61.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/9.736, allocations: 17.41 MB / 2.537 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/9.747, allocations: 0.5027 MB / 2.538 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00301/9.75, allocations: 419.2 kB / 2.538 GB, free: 49.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/9.75, allocations: 7.594 kB / 2.538 GB, free: 49.69 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03605/9.786, allocations: 11.95 MB / 2.55 GB, free: 49.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002576/9.786, allocations: 46.09 kB / 2.55 GB, free: 49.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/9.798, allocations: 3.283 MB / 2.553 GB, free: 49.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008771/9.807, allocations: 1.382 MB / 2.555 GB, free: 49.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/9.831, allocations: 22.18 MB / 2.576 GB, free: 36.38 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/9.842, allocations: 499.5 kB / 2.577 GB, free: 36.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003305/9.845, allocations: 409 kB / 2.577 GB, free: 36.38 MB / 0.573 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 () * Number of clocked 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.009988/9.855, allocations: 1.922 MB / 2.579 GB, free: 36.19 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004308/9.86, allocations: 0.6497 MB / 2.58 GB, free: 36.19 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04679/9.906, allocations: 13.5 MB / 2.593 GB, free: 35.64 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/9.907, allocations: 62.94 kB / 2.593 GB, free: 35.64 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.321e-05/9.907, allocations: 0 / 2.593 GB, free: 35.64 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02825/9.935, allocations: 9.66 MB / 2.602 GB, free: 35.01 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07707/10.01, allocations: 24.83 MB / 2.627 GB, free: 32.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001477/10.01, allocations: 14.53 kB / 2.627 GB, free: 32.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005703/10.02, allocations: 0.873 MB / 2.627 GB, free: 32.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02873/10.05, allocations: 5.513 MB / 2.633 GB, free: 32.4 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002699/10.05, allocations: 224.6 kB / 2.633 GB, free: 32.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01539/10.06, allocations: 17.4 MB / 2.65 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.583e-05/10.07, allocations: 25.16 kB / 2.65 GB, free: 19.72 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04322/10.11, allocations: 19.21 MB / 2.669 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00838/10.12, allocations: 1.734 MB / 2.671 GB, free: 8.965 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004128/10.12, allocations: 166 kB / 2.671 GB, free: 8.871 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008399/10.13, allocations: 341.8 kB / 2.671 GB, free: 8.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00237/10.13, allocations: 461.6 kB / 2.671 GB, free: 8.699 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002164/10.13, allocations: 328 kB / 2.672 GB, free: 8.648 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00964/10.14, allocations: 3.195 MB / 2.675 GB, free: 7.594 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.11e-07/10.14, allocations: 0 / 2.675 GB, free: 7.594 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0356/10.18, allocations: 5.982 MB / 2.681 GB, free: 7.09 MB / 0.573 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 () * 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.05796/10.24, allocations: 26.61 MB / 2.707 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.05239/10.29, allocations: 16.37 MB / 2.723 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.024e-05/10.29, allocations: 5.75 kB / 2.723 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01479/10.3, allocations: 4.874 MB / 2.727 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0209/10.33, allocations: 2.633 MB / 2.73 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6252/10.95, allocations: 56.87 MB / 2.786 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007047/10.96, allocations: 4.508 MB / 2.79 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.01754/10.98, allocations: 4.841 MB / 2.795 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008151/10.98, allocations: 3.165 MB / 2.798 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/10.98, allocations: 0 / 2.798 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9863/11.97, allocations: 249 MB / 3.041 GB, free: 74.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/11.97, allocations: 257.4 kB / 3.041 GB, free: 74.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/22.93, allocations: 0 / 3.041 GB, free: 74.35 MB / 0.6042 GB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat