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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 97.33 kB / 16.93 MB, free: 5.984 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.001361/0.001361, allocations: 177.9 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004561, allocations: 12 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.0995, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3489/0.4484, allocations: 126 MB / 454.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.08104/0.5295, allocations: 49.75 MB / 0.4924 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01134/0.5409, allocations: 285.7 kB / 0.4926 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009762/0.5507, allocations: 2.29 MB / 0.4949 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04061/0.5914, allocations: 11.8 MB / 0.5064 GB, free: 9.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04035/0.6318, allocations: 13.9 MB / 0.52 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02245/0.6542, allocations: 11.05 MB / 0.5308 GB, free: 76 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3158/0.97, allocations: 4.761 MB / 0.5354 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0312/1.001, allocations: 13.72 MB / 0.5488 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02338/1.025, allocations: 12 MB / 0.5605 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004413/1.029, allocations: 386.1 kB / 0.5609 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02949/1.059, allocations: 10.31 MB / 0.571 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007251/1.066, allocations: 2.806 MB / 0.5737 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005914/1.072, allocations: 1.456 MB / 0.5751 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02518/1.097, allocations: 11.95 MB / 0.5868 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.097, allocations: 4 kB / 0.5868 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.387e-06/1.097, allocations: 0 / 0.5868 GB, free: 13.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004343/1.098, allocations: 0 / 0.5868 GB, free: 13.72 MB / 446.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.02382/1.121, allocations: 8.009 MB / 0.5946 GB, free: 6.332 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.122, allocations: 8.031 kB / 0.5946 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00368/1.125, allocations: 0.7847 MB / 0.5954 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/1.136, allocations: 1.282 MB / 0.5967 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.15, allocations: 4.542 MB / 0.6011 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006802/1.151, allocations: 430.4 kB / 0.6015 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/1.154, allocations: 0.5305 MB / 0.602 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/1.179, allocations: 9.381 MB / 0.6112 GB, free: 9.539 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/1.179, allocations: 22.69 kB / 0.6112 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/1.18, allocations: 243.2 kB / 0.6114 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008997/1.181, allocations: 0.7052 MB / 0.6121 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/1.202, allocations: 8.227 MB / 0.6202 GB, free: 3.285 MB / 462.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.07313/1.276, allocations: 39.26 MB / 0.6585 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/1.289, allocations: 6.255 MB / 0.6646 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006309/1.295, allocations: 5.486 MB / 0.67 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/1.295, allocations: 103.9 kB / 0.6701 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006168/1.301, allocations: 1.292 MB / 0.6713 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=500): time 2.251e-05/1.302, allocations: 0 / 0.6713 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=632): time 0.1737/1.475, allocations: 52.2 MB / 0.7223 GB, free: 10.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.475, allocations: 167.8 kB / 0.7225 GB, free: 9.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007248/1.483, allocations: 4.883 MB / 0.7272 GB, free: 6.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002149/1.485, allocations: 140.5 kB / 0.7274 GB, free: 6.266 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002535/1.487, allocations: 2.986 MB / 0.7303 GB, free: 4.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00325/1.491, allocations: 2.16 MB / 0.7324 GB, free: 2.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000554/1.491, allocations: 141.7 kB / 0.7325 GB, free: 2.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0003979/1.492, allocations: 0.593 MB / 0.7331 GB, free: 2.156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2221/1.714, allocations: 3.951 MB / 0.737 GB, free: 252.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.726, allocations: 5.646 MB / 0.7425 GB, free: 250.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.738, allocations: 4.907 MB / 0.7473 GB, free: 250.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.738, allocations: 15.59 kB / 0.7473 GB, free: 250.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02573/1.763, allocations: 12.59 MB / 0.7596 GB, free: 246.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.004287/1.768, allocations: 21.46 MB / 0.7805 GB, free: 223.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/1.768, allocations: 44.5 kB / 0.7806 GB, free: 223.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02599/1.794, allocations: 5.155 MB / 0.7856 GB, free: 222.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006222/1.8, allocations: 1.392 MB / 0.787 GB, free: 222.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/1.812, allocations: 17.41 MB / 0.804 GB, free: 208.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008319/1.821, allocations: 0.4885 MB / 0.8045 GB, free: 208.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/1.823, allocations: 450.7 kB / 0.8049 GB, free: 208.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.823, allocations: 3.938 kB / 0.8049 GB, free: 208.1 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02039/1.843, allocations: 12.11 MB / 0.8167 GB, free: 201.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.843, allocations: 48.05 kB / 0.8168 GB, free: 201.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00966/1.853, allocations: 3.4 MB / 0.8201 GB, free: 198.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006099/1.859, allocations: 1.412 MB / 0.8215 GB, free: 196.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/1.877, allocations: 22.24 MB / 0.8432 GB, free: 174.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008359/1.885, allocations: 483.1 kB / 0.8436 GB, free: 173.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002037/1.887, allocations: 443.8 kB / 0.8441 GB, free: 173.3 MB / 0.545 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.005462/1.893, allocations: 1.932 MB / 0.8459 GB, free: 171.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/1.895, allocations: 0.6451 MB / 0.8466 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02308/1.918, allocations: 12.68 MB / 0.859 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/1.918, allocations: 68 kB / 0.859 GB, free: 158.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.918, allocations: 7.938 kB / 0.859 GB, free: 158.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01411/1.932, allocations: 9.695 MB / 0.8685 GB, free: 148.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/1.97, allocations: 24.81 MB / 0.8927 GB, free: 123.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/1.97, allocations: 16 kB / 0.8927 GB, free: 123.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/1.973, allocations: 0.8776 MB / 0.8936 GB, free: 122.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02464/1.998, allocations: 5.561 MB / 0.899 GB, free: 116.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001617/1.999, allocations: 235.9 kB / 0.8993 GB, free: 116.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/2.009, allocations: 17.38 MB / 0.9162 GB, free: 98.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/2.01, allocations: 23.88 kB / 0.9163 GB, free: 98.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/2.032, allocations: 19.27 MB / 0.9351 GB, free: 78.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004606/2.036, allocations: 1.687 MB / 0.9367 GB, free: 76.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001396/2.038, allocations: 164 kB / 0.9369 GB, free: 76.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.042, allocations: 340.1 kB / 0.9372 GB, free: 76.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006636/2.043, allocations: 463.9 kB / 0.9376 GB, free: 75.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005685/2.043, allocations: 359.8 kB / 0.938 GB, free: 75.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003964/2.047, allocations: 3.203 MB / 0.9411 GB, free: 72.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/2.047, allocations: 0 / 0.9411 GB, free: 72.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01602/2.063, allocations: 5.318 MB / 0.9463 GB, free: 67.33 MB / 0.545 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.0296/2.093, allocations: 25.95 MB / 0.9716 GB, free: 41.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02813/2.121, allocations: 15.69 MB / 0.987 GB, free: 25.47 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.499e-05/2.121, allocations: 9.75 kB / 0.987 GB, free: 25.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008874/2.13, allocations: 4.892 MB / 0.9918 GB, free: 20.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01368/2.144, allocations: 2.628 MB / 0.9943 GB, free: 17.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2597/2.404, allocations: 58.06 MB / 1.051 GB, free: 201.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007222/2.411, allocations: 4.509 MB / 1.055 GB, free: 200.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01615/2.427, allocations: 4.208 MB / 1.06 GB, free: 200.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006069/2.433, allocations: 3.208 MB / 1.063 GB, free: 200.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/2.433, allocations: 0 / 1.063 GB, free: 200.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5559/2.989, allocations: 245.1 MB / 1.302 GB, free: 218.6 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/2.989, allocations: 263.3 kB / 1.302 GB, free: 218.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.947/12.94, allocations: 0 / 1.302 GB, free: 218.3 MB / 0.545 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) Environment - environmentSimulation: 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