Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.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) 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(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.IncompressibleFluidNetwork,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 227.2 MB / 245 MB, free: 7.656 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008446/0.0008445, allocations: 97.19 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002191/0.0002191, allocations: 11.98 kB / 358 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2178, allocations: 51.48 MB / 409.5 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/0.7062, allocations: 277.2 MB / 0.6706 GB, free: 3.625 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.7065, allocations: 84 kB / 0.6706 GB, free: 3.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.207/6.914, allocations: 1.535 GB / 2.206 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.545e-06/6.914, allocations: 2.031 kB / 2.206 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0009307/6.915, allocations: 191.9 kB / 2.206 GB, free: 26.77 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.03868/6.953, allocations: 9.039 MB / 2.215 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/6.954, allocations: 10.66 kB / 2.215 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004827/6.958, allocations: 0.7899 MB / 2.216 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/6.971, allocations: 1.286 MB / 2.217 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02311/6.995, allocations: 6.329 MB / 2.223 GB, free: 21.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006362/6.995, allocations: 428.3 kB / 2.223 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/6.999, allocations: 0.5399 MB / 2.224 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02986/7.028, allocations: 9.451 MB / 2.233 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002891/7.029, allocations: 24.5 kB / 2.233 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/7.032, allocations: 247.1 kB / 2.233 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008714/7.033, allocations: 0.5862 MB / 2.234 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02274/7.056, allocations: 8.133 MB / 2.242 GB, free: 20.14 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.0778/7.133, allocations: 34.96 MB / 2.276 GB, free: 20.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/7.147, allocations: 6.173 MB / 2.282 GB, free: 20.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006459/7.153, allocations: 5.165 MB / 2.287 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/7.153, allocations: 101.6 kB / 2.287 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01075/7.164, allocations: 1.686 MB / 2.289 GB, free: 15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 4.635e-05/7.164, allocations: 2.062 kB / 2.289 GB, free: 15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.1767/7.341, allocations: 50.77 MB / 2.339 GB, free: 6.586 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/7.341, allocations: 168 kB / 2.339 GB, free: 6.453 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009047/7.35, allocations: 4.256 MB / 2.343 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002353/7.353, allocations: 145.7 kB / 2.343 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003028/7.356, allocations: 2.963 MB / 2.346 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004553/7.36, allocations: 2.163 MB / 2.348 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/7.362, allocations: 140 kB / 2.348 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000791/7.363, allocations: 0.589 MB / 2.349 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008975/7.372, allocations: 3.918 MB / 2.353 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/7.383, allocations: 5.546 MB / 2.358 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/7.394, allocations: 4.846 MB / 2.363 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-05/7.394, allocations: 12 kB / 2.363 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.4869/7.881, allocations: 12.99 MB / 2.375 GB, free: 50.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003883/7.885, allocations: 20.34 MB / 2.395 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/7.885, allocations: 45.06 kB / 2.395 GB, free: 29.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03162/7.917, allocations: 5.243 MB / 2.4 GB, free: 29.35 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007043/7.924, allocations: 1.358 MB / 2.402 GB, free: 29.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/7.938, allocations: 17.42 MB / 2.419 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/7.948, allocations: 0.5078 MB / 2.419 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002904/7.951, allocations: 417.9 kB / 2.42 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/7.951, allocations: 2.344 kB / 2.42 GB, free: 17.45 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02754/7.979, allocations: 11.94 MB / 2.431 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/7.979, allocations: 42.47 kB / 2.431 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/7.989, allocations: 3.287 MB / 2.435 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007521/7.997, allocations: 1.376 MB / 2.436 GB, free: 16.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/8.021, allocations: 22.18 MB / 2.458 GB, free: 20.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00934/8.03, allocations: 0.4908 MB / 2.458 GB, free: 20.13 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002785/8.033, allocations: 409.9 kB / 2.458 GB, free: 20.13 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.009693/8.043, allocations: 1.923 MB / 2.46 GB, free: 19.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003543/8.046, allocations: 0.6453 MB / 2.461 GB, free: 19.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04147/8.088, allocations: 18.47 MB / 2.479 GB, free: 19.42 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-05/8.088, allocations: 66.58 kB / 2.479 GB, free: 19.41 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.534e-05/8.088, allocations: 4.438 kB / 2.479 GB, free: 19.41 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02079/8.109, allocations: 9.655 MB / 2.488 GB, free: 18.78 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05989/8.169, allocations: 24.69 MB / 2.513 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.297e-05/8.169, allocations: 14.09 kB / 2.513 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004652/8.173, allocations: 0.8617 MB / 2.513 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02756/8.201, allocations: 5.496 MB / 2.519 GB, free: 13.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002556/8.204, allocations: 233.6 kB / 2.519 GB, free: 13.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/8.219, allocations: 17.4 MB / 2.536 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.128e-05/8.22, allocations: 27.31 kB / 2.536 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03866/8.258, allocations: 19.19 MB / 2.555 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008159/8.266, allocations: 1.663 MB / 2.556 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003982/8.27, allocations: 165 kB / 2.557 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007902/8.278, allocations: 333.7 kB / 2.557 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00223/8.281, allocations: 467 kB / 2.557 GB, free: 3.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002134/8.283, allocations: 316.9 kB / 2.558 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.008461/8.291, allocations: 3.199 MB / 2.561 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.61e-07/8.291, allocations: 0 / 2.561 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02998/8.321, allocations: 5.12 MB / 2.566 GB, free: 2.242 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 () * 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.4857/8.807, allocations: 25.54 MB / 2.591 GB, free: 99.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03608/8.843, allocations: 15.61 MB / 2.606 GB, free: 99.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.03e-05/8.843, allocations: 9.25 kB / 2.606 GB, free: 99.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/8.854, allocations: 4.874 MB / 2.611 GB, free: 99.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01567/8.87, allocations: 2.632 MB / 2.613 GB, free: 99.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06125/8.931, allocations: 56.44 MB / 2.668 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007326/8.939, allocations: 4.502 MB / 2.673 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02332/8.962, allocations: 9.078 MB / 2.682 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007511/8.969, allocations: 3.163 MB / 2.685 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of SimCode: time 1.543e-06/8.969, allocations: 0 / 2.685 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8035/9.773, allocations: 235.9 MB / 2.915 GB, free: 77.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/9.773, allocations: 245.1 kB / 2.915 GB, free: 77.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.957/19.73, allocations: 3.875 kB / 2.915 GB, free: 77.5 MB / 0.6042 GB (rm -f Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_IncompressibleFluidNetwork.fmu > Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat does not exist to compare? outputFormat=mat