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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008508/0.0008509, allocations: 94.53 kB / 16.65 MB, free: 6.586 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.0008694/0.0008693, allocations: 183.8 kB / 17.57 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002492/0.0002493, allocations: 8 kB / 301.5 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08887/0.08914, allocations: 50.43 MB / 351.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.5629/0.6521, allocations: 188.3 MB / 0.5276 GB, free: 348 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.05448/0.7066, allocations: 46.13 MB / 0.5727 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00739/0.7141, allocations: 292.2 kB / 0.5729 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.7192, allocations: 1.972 MB / 0.5749 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0299/0.7491, allocations: 12.42 MB / 0.587 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03468/0.7839, allocations: 14.26 MB / 0.6009 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03348/0.8174, allocations: 32.44 MB / 0.6326 GB, free: 7.066 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009583/0.827, allocations: 4.99 MB / 0.6375 GB, free: 2.332 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02471/0.8517, allocations: 14.98 MB / 0.6521 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02345/0.8752, allocations: 15.88 MB / 0.6676 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003036/0.8783, allocations: 384 kB / 0.668 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02268/0.901, allocations: 10.14 MB / 0.6779 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.006/0.907, allocations: 3.108 MB / 0.6809 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00953/0.9166, allocations: 3.978 MB / 0.6848 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.03417/0.9508, allocations: 15.22 MB / 0.6997 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9508, allocations: 0 / 0.6997 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9508, allocations: 3.938 kB / 0.6997 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004138/0.9513, allocations: 0 / 0.6997 GB, free: 5.734 MB / 0.5294 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.02085/0.9721, allocations: 7.741 MB / 0.7072 GB, free: 14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.9722, allocations: 12.03 kB / 0.7072 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002755/0.9749, allocations: 0.7823 MB / 0.708 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009448/0.9844, allocations: 1.289 MB / 0.7093 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.9973, allocations: 5.901 MB / 0.715 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005228/0.9978, allocations: 424.6 kB / 0.7154 GB, free: 5.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001992/0.9998, allocations: 0.5307 MB / 0.7159 GB, free: 5.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3048/1.305, allocations: 9.437 MB / 0.7252 GB, free: 69.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/1.305, allocations: 24.47 kB / 0.7252 GB, free: 69.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009406/1.306, allocations: 241.1 kB / 0.7254 GB, free: 69.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001199/1.307, allocations: 0.7 MB / 0.7261 GB, free: 69.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/1.329, allocations: 8.25 MB / 0.7342 GB, free: 68.97 MB / 0.545 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.06332/1.392, allocations: 39.27 MB / 0.7725 GB, free: 48.83 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01241/1.404, allocations: 6.239 MB / 0.7786 GB, free: 48.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005915/1.41, allocations: 3.676 MB / 0.7822 GB, free: 48.71 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004965/1.415, allocations: 6.597 MB / 0.7886 GB, free: 41.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/1.415, allocations: 95.67 kB / 0.7887 GB, free: 41.44 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005113/1.421, allocations: 1.271 MB / 0.79 GB, free: 41.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=500): time 2.466e-05/1.421, allocations: 0 / 0.79 GB, free: 41.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=632): time 0.1746/1.595, allocations: 52.85 MB / 0.8416 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/1.595, allocations: 173.7 kB / 0.8417 GB, free: 9.719 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007443/1.603, allocations: 4.861 MB / 0.8465 GB, free: 4.887 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001307/1.604, allocations: 141.7 kB / 0.8466 GB, free: 4.742 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001814/1.606, allocations: 2.979 MB / 0.8495 GB, free: 1.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00212/1.608, allocations: 2.164 MB / 0.8516 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/1.61, allocations: 0.5721 MB / 0.8522 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/1.61, allocations: 301.1 kB / 0.8525 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007019/1.617, allocations: 4.027 MB / 0.8564 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009076/1.626, allocations: 5.741 MB / 0.862 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/1.643, allocations: 10.34 MB / 0.8721 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.233e-05/1.643, allocations: 16 kB / 0.8721 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02859/1.672, allocations: 12.78 MB / 0.8846 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.001272/1.673, allocations: 1.448 MB / 0.886 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.161e-05/1.673, allocations: 47.94 kB / 0.8861 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02794/1.701, allocations: 5.197 MB / 0.8912 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006444/1.708, allocations: 1.363 MB / 0.8925 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/1.724, allocations: 17.43 MB / 0.9095 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007412/1.732, allocations: 496.9 kB / 0.91 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.734, allocations: 423.8 kB / 0.9104 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.734, allocations: 2.344 kB / 0.9104 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02775/1.761, allocations: 12.14 MB / 0.9222 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/1.761, allocations: 44 kB / 0.9223 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/1.773, allocations: 3.388 MB / 0.9256 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006454/1.779, allocations: 1.399 MB / 0.927 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2104/1.989, allocations: 21.92 MB / 0.9484 GB, free: 320.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007447/1.997, allocations: 488.8 kB / 0.9488 GB, free: 320.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.999, allocations: 410.3 kB / 0.9492 GB, free: 320.8 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(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.004644/2.003, allocations: 1.932 MB / 0.9511 GB, free: 320.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/2.005, allocations: 0.6464 MB / 0.9517 GB, free: 320.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02836/2.033, allocations: 18.5 MB / 0.9698 GB, free: 317.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/2.033, allocations: 67 kB / 0.9699 GB, free: 317.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/2.033, allocations: 4.266 kB / 0.9699 GB, free: 317.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01304/2.046, allocations: 9.714 MB / 0.9794 GB, free: 314 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03963/2.086, allocations: 24.67 MB / 1.003 GB, free: 301.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/2.086, allocations: 15.69 kB / 1.003 GB, free: 301.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/2.09, allocations: 0.8608 MB / 1.004 GB, free: 301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02507/2.115, allocations: 5.524 MB / 1.01 GB, free: 295.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/2.116, allocations: 227.9 kB / 1.01 GB, free: 295.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01057/2.127, allocations: 17.4 MB / 1.027 GB, free: 277.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/2.127, allocations: 19.94 kB / 1.027 GB, free: 277.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02382/2.151, allocations: 16.92 MB / 1.043 GB, free: 260.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003818/2.154, allocations: 1.63 MB / 1.045 GB, free: 258.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001632/2.156, allocations: 164 kB / 1.045 GB, free: 258.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004891/2.161, allocations: 322.9 kB / 1.046 GB, free: 258.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009605/2.162, allocations: 467.3 kB / 1.046 GB, free: 257.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008273/2.163, allocations: 324.4 kB / 1.046 GB, free: 257.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004708/2.167, allocations: 3.207 MB / 1.049 GB, free: 254.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/2.167, allocations: 0 / 1.049 GB, free: 254.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01402/2.182, allocations: 4.709 MB / 1.054 GB, free: 250 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(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.03035/2.212, allocations: 19.52 MB / 1.073 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.02665/2.239, allocations: 15.76 MB / 1.088 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.286e-05/2.239, allocations: 12.25 kB / 1.088 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0088/2.247, allocations: 4.92 MB / 1.093 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02802/2.276, allocations: 2.726 MB / 1.096 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1336/2.409, allocations: 95.49 MB / 1.189 GB, free: 104.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004629/2.414, allocations: 4.378 MB / 1.193 GB, free: 100.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.01661/2.43, allocations: 9.117 MB / 1.202 GB, free: 91.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004927/2.435, allocations: 3.166 MB / 1.205 GB, free: 88.11 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/2.435, allocations: 0 / 1.205 GB, free: 88.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4479/2.883, allocations: 238.3 MB / 1.438 GB, free: 203.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/2.883, allocations: 279.1 kB / 1.438 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.396/12.28, allocations: 0 / 1.438 GB, free: 203.3 MB / 0.6387 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/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)