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.0008225/0.0008225, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009521/0.0009521, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001821/0.0001822, allocations: 8 kB / 307.8 MB, free: 0.7422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.07762, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4948/0.5725, allocations: 188.5 MB / 0.535 GB, free: 416 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.05426/0.6268, allocations: 46.25 MB / 0.5802 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007581/0.6344, allocations: 288 kB / 0.5805 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005538/0.64, allocations: 1.975 MB / 0.5824 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02608/0.6661, allocations: 12.44 MB / 0.5946 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03153/0.6976, allocations: 14.35 MB / 0.6086 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03011/0.7277, allocations: 32.67 MB / 0.6405 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008679/0.7365, allocations: 5.052 MB / 0.6454 GB, free: 8.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02308/0.7596, allocations: 15.2 MB / 0.6603 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02249/0.7821, allocations: 16.15 MB / 0.676 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.7846, allocations: 384 kB / 0.6764 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01998/0.8046, allocations: 10.14 MB / 0.6863 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.004829/0.8094, allocations: 3.113 MB / 0.6893 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.008221/0.8177, allocations: 3.977 MB / 0.6932 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02712/0.8448, allocations: 15.23 MB / 0.7081 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.8448, allocations: 0 / 0.7081 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.405e-06/0.8448, allocations: 0 / 0.7081 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002315/0.8451, allocations: 8 kB / 0.7081 GB, free: 11.88 MB / 0.545 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.01804/0.8631, allocations: 7.74 MB / 0.7157 GB, free: 4.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.8632, allocations: 15.97 kB / 0.7157 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002111/0.8653, allocations: 0.7831 MB / 0.7164 GB, free: 3.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008164/0.8735, allocations: 1.294 MB / 0.7177 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.884, allocations: 5.887 MB / 0.7235 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.8844, allocations: 426.2 kB / 0.7239 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001202/0.8856, allocations: 0.5353 MB / 0.7244 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01683/0.9025, allocations: 9.448 MB / 0.7336 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.9026, allocations: 19.81 kB / 0.7336 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008254/0.9034, allocations: 240.2 kB / 0.7339 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008201/0.9043, allocations: 0.7088 MB / 0.7346 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1737/1.078, allocations: 8.241 MB / 0.7426 GB, free: 259.6 MB / 0.5606 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.04555/1.124, allocations: 39.28 MB / 0.781 GB, free: 230.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008558/1.132, allocations: 6.247 MB / 0.7871 GB, free: 227.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/1.136, allocations: 3.676 MB / 0.7907 GB, free: 225.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004477/1.141, allocations: 6.591 MB / 0.7971 GB, free: 218 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/1.141, allocations: 100.2 kB / 0.7972 GB, free: 217.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0041/1.145, allocations: 1.273 MB / 0.7984 GB, free: 217.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=500): time 1.694e-05/1.145, allocations: 0 / 0.7984 GB, free: 217.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=632): time 0.1502/1.295, allocations: 52.85 MB / 0.85 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/1.295, allocations: 175.7 kB / 0.8502 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00646/1.302, allocations: 4.857 MB / 0.855 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001295/1.303, allocations: 145.7 kB / 0.8551 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001541/1.305, allocations: 2.968 MB / 0.858 GB, free: 158 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001953/1.307, allocations: 2.176 MB / 0.8601 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/1.308, allocations: 0.5721 MB / 0.8607 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.522e-05/1.308, allocations: 301.1 kB / 0.861 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005511/1.313, allocations: 4.023 MB / 0.8649 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006037/1.319, allocations: 5.746 MB / 0.8705 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.331, allocations: 10.34 MB / 0.8806 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/1.331, allocations: 19.94 kB / 0.8806 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.01708/1.348, allocations: 12.77 MB / 0.8931 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005342/1.348, allocations: 1.458 MB / 0.8945 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.203e-05/1.348, allocations: 44 kB / 0.8946 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02408/1.372, allocations: 5.207 MB / 0.8996 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/1.378, allocations: 1.377 MB / 0.901 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.389, allocations: 17.41 MB / 0.918 GB, free: 93.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/1.396, allocations: 499.5 kB / 0.9185 GB, free: 93.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.397, allocations: 419.8 kB / 0.9189 GB, free: 92.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/1.397, allocations: 7.938 kB / 0.9189 GB, free: 92.88 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01878/1.416, allocations: 12.14 MB / 0.9307 GB, free: 80.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.614e-05/1.416, allocations: 47.94 kB / 0.9308 GB, free: 80.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009131/1.425, allocations: 3.383 MB / 0.9341 GB, free: 77.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/1.43, allocations: 1.392 MB / 0.9354 GB, free: 75.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0161/1.446, allocations: 21.94 MB / 0.9569 GB, free: 53.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/1.452, allocations: 491.4 kB / 0.9573 GB, free: 52.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.453, allocations: 407.8 kB / 0.9577 GB, free: 52.2 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 (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.003651/1.457, allocations: 1.944 MB / 0.9596 GB, free: 50.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/1.458, allocations: 0.6445 MB / 0.9602 GB, free: 49.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/1.482, allocations: 18.49 MB / 0.9783 GB, free: 31.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.284e-05/1.482, allocations: 64 kB / 0.9784 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.482, allocations: 0 / 0.9784 GB, free: 31.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0124/1.494, allocations: 9.71 MB / 0.9879 GB, free: 21.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1878/1.682, allocations: 24.67 MB / 1.012 GB, free: 240.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-05/1.682, allocations: 15.06 kB / 1.012 GB, free: 240.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003742/1.686, allocations: 0.8648 MB / 1.013 GB, free: 240.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02639/1.712, allocations: 5.545 MB / 1.018 GB, free: 240.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/1.713, allocations: 226.3 kB / 1.018 GB, free: 240.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.724, allocations: 17.41 MB / 1.035 GB, free: 228.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/1.724, allocations: 27.28 kB / 1.035 GB, free: 228.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02087/1.745, allocations: 16.92 MB / 1.052 GB, free: 221.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003216/1.748, allocations: 1.629 MB / 1.054 GB, free: 220.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/1.75, allocations: 162.2 kB / 1.054 GB, free: 220.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004599/1.754, allocations: 324.3 kB / 1.054 GB, free: 220.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007908/1.755, allocations: 468.6 kB / 1.054 GB, free: 220.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006829/1.756, allocations: 325.8 kB / 1.055 GB, free: 220.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004365/1.76, allocations: 3.205 MB / 1.058 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.76, allocations: 0 / 1.058 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0105/1.771, allocations: 4.717 MB / 1.063 GB, free: 218.9 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 (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.02329/1.794, allocations: 19.52 MB / 1.082 GB, free: 203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02253/1.816, allocations: 15.76 MB / 1.097 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.046e-05/1.816, allocations: 9.75 kB / 1.097 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007498/1.824, allocations: 4.923 MB / 1.102 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02415/1.848, allocations: 2.712 MB / 1.104 GB, free: 179.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1113/1.959, allocations: 95.49 MB / 1.198 GB, free: 77.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002826/1.962, allocations: 4.378 MB / 1.202 GB, free: 73.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0136/1.976, allocations: 9.127 MB / 1.211 GB, free: 64.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003757/1.98, allocations: 3.166 MB / 1.214 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/1.98, allocations: 0 / 1.214 GB, free: 61.25 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4138/2.393, allocations: 238.3 MB / 1.447 GB, free: 86.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/2.394, allocations: 279.6 kB / 1.447 GB, free: 86.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/10.53, allocations: 0 / 1.447 GB, free: 86.01 MB / 0.5606 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/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)