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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.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|pipe5.mediums.1..T|pipe5.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",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.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|pipe5.mediums.1..T|pipe5.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",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 94.3 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008079/0.0008079, allocations: 43.92 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2179, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3835/0.6014, allocations: 216.9 MB / 0.5768 GB, free: 9.273 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.063/0.6644, allocations: 46.91 MB / 0.6227 GB, free: 10.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007699/0.6722, allocations: 305.8 kB / 0.6229 GB, free: 10.17 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00612/0.6784, allocations: 1.982 MB / 0.6249 GB, free: 8.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03175/0.7102, allocations: 14.14 MB / 0.6387 GB, free: 10.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03107/0.7413, allocations: 14.25 MB / 0.6526 GB, free: 11.74 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.3085/1.05, allocations: 32.53 MB / 0.6844 GB, free: 8.488 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01012/1.06, allocations: 4.996 MB / 0.6892 GB, free: 8.227 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02618/1.086, allocations: 15.17 MB / 0.7041 GB, free: 8.031 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02582/1.112, allocations: 15.98 MB / 0.7197 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003702/1.116, allocations: 396.4 kB / 0.72 GB, free: 7.113 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02737/1.143, allocations: 11.99 MB / 0.7318 GB, free: 6.578 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006279/1.15, allocations: 3.104 MB / 0.7348 GB, free: 5.328 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007236/1.157, allocations: 3.979 MB / 0.7387 GB, free: 3.859 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03475/1.192, allocations: 16.81 MB / 0.7551 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.192, allocations: 0 / 0.7551 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/1.192, allocations: 4 kB / 0.7551 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005692/1.192, allocations: 3.656 kB / 0.7551 GB, free: 13.53 MB / 0.4948 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.03681/1.229, allocations: 9.614 MB / 0.7645 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/1.229, allocations: 12.03 kB / 0.7645 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.241, allocations: 1.275 MB / 0.7657 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/1.258, allocations: 5.913 MB / 0.7715 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007123/1.258, allocations: 431.5 kB / 0.7719 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003293/1.262, allocations: 0.5345 MB / 0.7725 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02972/1.292, allocations: 9.479 MB / 0.7817 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000355/1.292, allocations: 19.06 kB / 0.7817 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003187/1.295, allocations: 239.3 kB / 0.782 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001219/1.296, allocations: 0.704 MB / 0.7826 GB, free: 7.066 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/1.319, allocations: 8.261 MB / 0.7907 GB, free: 1.473 MB / 0.5105 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.0699/1.389, allocations: 39.69 MB / 0.8295 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.402, allocations: 6.25 MB / 0.8356 GB, free: 8.473 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006313/1.409, allocations: 3.66 MB / 0.8391 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00897/1.418, allocations: 9.593 MB / 0.8485 GB, free: 9.289 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001288/1.418, allocations: 99.94 kB / 0.8486 GB, free: 9.184 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005795/1.423, allocations: 1.273 MB / 0.8499 GB, free: 7.922 MB / 0.573 GB Notification: Performance of pre-optimization done (n=500): time 1.864e-05/1.424, allocations: 0 / 0.8499 GB, free: 7.922 MB / 0.573 GB Notification: Performance of matching and sorting (n=632): time 0.1816/1.605, allocations: 51.69 MB / 0.9003 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.605, allocations: 174.8 kB / 0.9005 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1856/1.791, allocations: 4.859 MB / 0.9052 GB, free: 331.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002433/1.793, allocations: 146 kB / 0.9054 GB, free: 331.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003007/1.796, allocations: 2.977 MB / 0.9083 GB, free: 331.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003103/1.799, allocations: 2.173 MB / 0.9104 GB, free: 330 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004864/1.804, allocations: 1.466 MB / 0.9118 GB, free: 329.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.689e-05/1.804, allocations: 304.9 kB / 0.9121 GB, free: 329.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006626/1.811, allocations: 4.063 MB / 0.9161 GB, free: 328.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007438/1.819, allocations: 5.745 MB / 0.9217 GB, free: 325.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.831, allocations: 10.34 MB / 0.9318 GB, free: 319.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-05/1.831, allocations: 15.12 kB / 0.9318 GB, free: 319.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.01816/1.849, allocations: 12.81 MB / 0.9443 GB, free: 314.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/1.849, allocations: 25.72 kB / 0.9443 GB, free: 314.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/1.849, allocations: 43.25 kB / 0.9444 GB, free: 314.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02295/1.872, allocations: 5.115 MB / 0.9494 GB, free: 312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005142/1.877, allocations: 1.387 MB / 0.9507 GB, free: 311.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.888, allocations: 17.41 MB / 0.9677 GB, free: 296.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007202/1.895, allocations: 477.7 kB / 0.9682 GB, free: 296.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001266/1.896, allocations: 452.7 kB / 0.9686 GB, free: 296.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008518/1.905, allocations: 5.394 MB / 0.9739 GB, free: 291.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006467/1.911, allocations: 5.575 MB / 0.9793 GB, free: 285 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01171/1.923, allocations: 9.977 MB / 0.9891 GB, free: 274.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.515e-05/1.923, allocations: 12 kB / 0.9891 GB, free: 274.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.02277/1.946, allocations: 12.72 MB / 1.002 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.499e-05/1.946, allocations: 24 kB / 1.002 GB, free: 261.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.677e-05/1.946, allocations: 45.47 kB / 1.002 GB, free: 261.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/1.957, allocations: 3.376 MB / 1.005 GB, free: 258.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007372/1.964, allocations: 1.404 MB / 1.006 GB, free: 256.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/1.983, allocations: 21.96 MB / 1.028 GB, free: 234.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008283/1.991, allocations: 460.2 kB / 1.028 GB, free: 233.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002015/1.993, allocations: 445 kB / 1.029 GB, free: 233.2 MB / 0.6198 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.003589/1.996, allocations: 0.6009 MB / 1.029 GB, free: 232.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002987/1.999, allocations: 0.6445 MB / 1.03 GB, free: 232 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/2.026, allocations: 12.65 MB / 1.042 GB, free: 219.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/2.026, allocations: 64 kB / 1.042 GB, free: 219.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/2.026, allocations: 0 / 1.042 GB, free: 219.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01772/2.044, allocations: 9.717 MB / 1.052 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04142/2.085, allocations: 24.75 MB / 1.076 GB, free: 184.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/2.085, allocations: 12 kB / 1.076 GB, free: 184.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00341/2.089, allocations: 0.8737 MB / 1.077 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02379/2.112, allocations: 5.427 MB / 1.082 GB, free: 178 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001479/2.114, allocations: 235.9 kB / 1.082 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/2.125, allocations: 17.39 MB / 1.099 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.35e-05/2.125, allocations: 23.92 kB / 1.099 GB, free: 159.7 MB / 0.6198 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5149/2.64, allocations: 158.7 MB / 1.254 GB, free: 284.2 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.