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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 101.7 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001258/0.001258, allocations: 206 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003417, allocations: 4 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1171, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3113/0.4285, allocations: 124.9 MB / 483.1 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07236/0.5009, allocations: 46.46 MB / 0.5171 GB, free: 288 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008246/0.5092, allocations: 281.8 kB / 0.5174 GB, free: 4 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008852/0.518, allocations: 2.294 MB / 0.5197 GB, free: 13.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0317/0.5498, allocations: 10.2 MB / 0.5296 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3413/0.8912, allocations: 13.97 MB / 0.5433 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0233/0.9145, allocations: 11.08 MB / 0.5541 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01115/0.9256, allocations: 4.834 MB / 0.5588 GB, free: 24.51 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02849/0.9542, allocations: 13.91 MB / 0.5724 GB, free: 23.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02333/0.9775, allocations: 12.17 MB / 0.5843 GB, free: 20.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003955/0.9816, allocations: 384.6 kB / 0.5846 GB, free: 20.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/1.007, allocations: 8.808 MB / 0.5932 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007397/1.014, allocations: 2.812 MB / 0.596 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005996/1.02, allocations: 1.458 MB / 0.5974 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02508/1.046, allocations: 11.13 MB / 0.6083 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/1.046, allocations: 0 / 0.6083 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/1.046, allocations: 0 / 0.6083 GB, free: 1.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004416/1.046, allocations: 0 / 0.6083 GB, free: 1.441 MB / 462.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.02378/1.07, allocations: 7.759 MB / 0.6159 GB, free: 10.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.07, allocations: 16 kB / 0.6159 GB, free: 10.28 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002989/1.073, allocations: 0.7872 MB / 0.6166 GB, free: 9.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009907/1.083, allocations: 1.289 MB / 0.6179 GB, free: 8.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/1.095, allocations: 4.515 MB / 0.6223 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005027/1.095, allocations: 425.7 kB / 0.6227 GB, free: 4.953 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00218/1.097, allocations: 0.5284 MB / 0.6232 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/1.121, allocations: 9.372 MB / 0.6324 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001538/1.121, allocations: 16.72 kB / 0.6324 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/1.123, allocations: 247.5 kB / 0.6326 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001364/1.124, allocations: 0.6989 MB / 0.6333 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.146, allocations: 8.216 MB / 0.6413 GB, free: 7.273 MB / 494.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.07608/1.222, allocations: 39.34 MB / 0.6798 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.235, allocations: 6.244 MB / 0.6858 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006992/1.242, allocations: 6.609 MB / 0.6923 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/1.243, allocations: 94.56 kB / 0.6924 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006871/1.25, allocations: 1.292 MB / 0.6937 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=500): time 3.593e-05/1.25, allocations: 0 / 0.6937 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=632): time 0.4661/1.716, allocations: 52.08 MB / 0.7445 GB, free: 250.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.716, allocations: 168.5 kB / 0.7447 GB, free: 250.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009661/1.726, allocations: 4.877 MB / 0.7494 GB, free: 249.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.002084/1.728, allocations: 148.3 kB / 0.7496 GB, free: 249.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002975/1.731, allocations: 2.972 MB / 0.7525 GB, free: 247.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.003508/1.734, allocations: 2.166 MB / 0.7546 GB, free: 246.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007568/1.735, allocations: 144.9 kB / 0.7547 GB, free: 246.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0004634/1.736, allocations: 0.5913 MB / 0.7553 GB, free: 245.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008309/1.744, allocations: 3.939 MB / 0.7592 GB, free: 244.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/1.754, allocations: 5.632 MB / 0.7647 GB, free: 241.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008753/1.763, allocations: 4.891 MB / 0.7694 GB, free: 239.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.916e-05/1.763, allocations: 15.81 kB / 0.7694 GB, free: 239.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02448/1.788, allocations: 12.54 MB / 0.7817 GB, free: 234.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.005937/1.794, allocations: 21.46 MB / 0.8027 GB, free: 211.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.794, allocations: 43.75 kB / 0.8027 GB, free: 211.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02605/1.82, allocations: 5.146 MB / 0.8077 GB, free: 209.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006231/1.826, allocations: 1.372 MB / 0.8091 GB, free: 208.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.838, allocations: 17.4 MB / 0.826 GB, free: 193.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008883/1.847, allocations: 499.7 kB / 0.8265 GB, free: 193.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002189/1.849, allocations: 420.9 kB / 0.8269 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.849, allocations: 3.281 kB / 0.8269 GB, free: 193.4 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02246/1.872, allocations: 12.07 MB / 0.8387 GB, free: 183 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001708/1.872, allocations: 47.83 kB / 0.8388 GB, free: 183 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.882, allocations: 3.389 MB / 0.8421 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00649/1.889, allocations: 1.398 MB / 0.8434 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/1.907, allocations: 22.24 MB / 0.8652 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009407/1.916, allocations: 493.4 kB / 0.8656 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002059/1.918, allocations: 411.8 kB / 0.866 GB, free: 154.4 MB / 0.5606 GB 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.005326/1.924, allocations: 1.929 MB / 0.8679 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001919/1.926, allocations: 0.6445 MB / 0.8685 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02895/1.955, allocations: 18.51 MB / 0.8866 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.215e-05/1.955, allocations: 64 kB / 0.8867 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.955, allocations: 4 kB / 0.8867 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01863/1.973, allocations: 9.675 MB / 0.8961 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04683/2.02, allocations: 24.71 MB / 0.9202 GB, free: 98.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.514e-05/2.02, allocations: 16 kB / 0.9203 GB, free: 98.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003972/2.024, allocations: 0.862 MB / 0.9211 GB, free: 97.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02504/2.049, allocations: 5.525 MB / 0.9265 GB, free: 91.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001571/2.051, allocations: 227.9 kB / 0.9267 GB, free: 91.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/2.063, allocations: 17.37 MB / 0.9437 GB, free: 73.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/2.063, allocations: 23.88 kB / 0.9437 GB, free: 73.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02572/2.088, allocations: 19.23 MB / 0.9625 GB, free: 53.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005998/2.094, allocations: 1.652 MB / 0.9641 GB, free: 51.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002415/2.097, allocations: 164 kB / 0.9643 GB, free: 51.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006028/2.103, allocations: 327.4 kB / 0.9646 GB, free: 51.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001116/2.104, allocations: 459.9 kB / 0.965 GB, free: 50.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001086/2.105, allocations: 323.8 kB / 0.9653 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006429/2.112, allocations: 3.207 MB / 0.9684 GB, free: 47.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.21e-07/2.112, allocations: 0 / 0.9684 GB, free: 47.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.02075/2.132, allocations: 4.883 MB / 0.9732 GB, free: 42.67 MB / 0.5606 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.03858/2.171, allocations: 25.17 MB / 0.9978 GB, free: 17.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.03359/2.205, allocations: 15.64 MB / 1.013 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.273e-05/2.205, allocations: 9.75 kB / 1.013 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2397/2.444, allocations: 4.857 MB / 1.018 GB, free: 241.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0165/2.461, allocations: 2.631 MB / 1.02 GB, free: 241.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0602/2.521, allocations: 57.89 MB / 1.077 GB, free: 196.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005193/2.526, allocations: 4.502 MB / 1.081 GB, free: 195.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.01854/2.545, allocations: 9.127 MB / 1.09 GB, free: 194.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006373/2.551, allocations: 3.169 MB / 1.093 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/2.551, allocations: 0 / 1.093 GB, free: 191.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.315/3.866, allocations: 236.6 MB / 1.324 GB, free: 201.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/3.867, allocations: 245.2 kB / 1.325 GB, free: 201.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/14.06, allocations: 6.734 kB / 1.325 GB, free: 201.1 MB / 0.5607 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