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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 100.6 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000845/0.000845, allocations: 35.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2565, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.4304/0.6869, allocations: 191.8 MB / 0.5774 GB, free: 11.13 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07641/0.7634, allocations: 46.67 MB / 0.623 GB, free: 12.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01146/0.775, allocations: 313.7 kB / 0.6233 GB, free: 12.12 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008366/0.7834, allocations: 1.97 MB / 0.6252 GB, free: 10.14 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03419/0.8176, allocations: 12.42 MB / 0.6374 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03839/0.8561, allocations: 14.26 MB / 0.6513 GB, free: 15.45 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.3854/1.241, allocations: 32.52 MB / 0.6831 GB, free: 8.109 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01061/1.252, allocations: 4.998 MB / 0.6879 GB, free: 7.848 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03133/1.284, allocations: 15.18 MB / 0.7028 GB, free: 7.695 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02785/1.311, allocations: 15.98 MB / 0.7184 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004769/1.316, allocations: 397.7 kB / 0.7187 GB, free: 6.773 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02812/1.344, allocations: 10.18 MB / 0.7287 GB, free: 6.715 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008184/1.353, allocations: 3.095 MB / 0.7317 GB, free: 6.367 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01415/1.367, allocations: 3.987 MB / 0.7356 GB, free: 4.898 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04087/1.408, allocations: 15.69 MB / 0.7509 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.408, allocations: 0.7031 kB / 0.7509 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd: time 2.295e-06/1.408, allocations: 0.5781 kB / 0.7509 GB, free: 0 / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005117/1.408, allocations: 7.828 kB / 0.7509 GB, free: 0 / 490.7 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.03289/1.441, allocations: 9.366 MB / 0.7601 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.441, allocations: 8.031 kB / 0.7601 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.451, allocations: 1.281 MB / 0.7613 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/1.466, allocations: 5.902 MB / 0.7671 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000519/1.467, allocations: 424.1 kB / 0.7675 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/1.469, allocations: 0.5371 MB / 0.768 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02298/1.492, allocations: 9.461 MB / 0.7773 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/1.493, allocations: 25.67 kB / 0.7773 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/1.494, allocations: 244.5 kB / 0.7775 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008337/1.494, allocations: 0.6983 MB / 0.7782 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/1.515, allocations: 8.258 MB / 0.7863 GB, free: 6.734 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.07276/1.588, allocations: 39.2 MB / 0.8246 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/1.602, allocations: 6.253 MB / 0.8307 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007194/1.609, allocations: 3.67 MB / 0.8343 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006762/1.616, allocations: 6.589 MB / 0.8407 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/1.616, allocations: 98.92 kB / 0.8408 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007014/1.623, allocations: 1.274 MB / 0.842 GB, free: 344 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=500): time 2.699e-05/1.624, allocations: 0 / 0.842 GB, free: 344 kB / 0.5573 GB Notification: Performance of matching and sorting (n=632): time 0.2015/1.825, allocations: 51.59 MB / 0.8924 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/1.825, allocations: 178.6 kB / 0.8926 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00951/1.835, allocations: 4.861 MB / 0.8973 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002296/1.837, allocations: 145.7 kB / 0.8975 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003136/1.84, allocations: 2.972 MB / 0.9004 GB, free: 4.691 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004082/1.844, allocations: 2.163 MB / 0.9025 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007524/1.852, allocations: 1.449 MB / 0.9039 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001022/1.852, allocations: 306.2 kB / 0.9042 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2358/2.088, allocations: 4.042 MB / 0.9081 GB, free: 319.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009356/2.097, allocations: 5.733 MB / 0.9137 GB, free: 317.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/2.112, allocations: 10.31 MB / 0.9238 GB, free: 313.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-05/2.112, allocations: 15.5 kB / 0.9238 GB, free: 313.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.02441/2.137, allocations: 12.75 MB / 0.9363 GB, free: 308.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/2.137, allocations: 25.66 kB / 0.9363 GB, free: 308.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-05/2.137, allocations: 44.78 kB / 0.9363 GB, free: 308.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02486/2.162, allocations: 5.083 MB / 0.9413 GB, free: 307 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005958/2.168, allocations: 1.359 MB / 0.9426 GB, free: 306.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/2.18, allocations: 17.41 MB / 0.9596 GB, free: 291.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008288/2.188, allocations: 474.8 kB / 0.9601 GB, free: 291.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/2.19, allocations: 423.8 kB / 0.9605 GB, free: 291.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01029/2.2, allocations: 5.37 MB / 0.9657 GB, free: 286.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007131/2.208, allocations: 5.56 MB / 0.9711 GB, free: 279.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01384/2.221, allocations: 9.954 MB / 0.9809 GB, free: 269.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.713e-05/2.222, allocations: 12.55 kB / 0.9809 GB, free: 269.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.02361/2.245, allocations: 12.67 MB / 0.9933 GB, free: 257 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/2.245, allocations: 24 kB / 0.9933 GB, free: 256.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/2.245, allocations: 46.44 kB / 0.9933 GB, free: 256.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01029/2.256, allocations: 3.371 MB / 0.9966 GB, free: 253.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/2.261, allocations: 1.389 MB / 0.998 GB, free: 252.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01696/2.278, allocations: 21.95 MB / 1.019 GB, free: 229.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007817/2.286, allocations: 465.9 kB / 1.02 GB, free: 229.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/2.288, allocations: 413.9 kB / 1.02 GB, free: 228.9 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.002317/2.291, allocations: 0.6108 MB / 1.021 GB, free: 228.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001918/2.293, allocations: 0.646 MB / 1.021 GB, free: 227.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02886/2.322, allocations: 18.48 MB / 1.04 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/2.322, allocations: 64 kB / 1.04 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/2.322, allocations: 4 kB / 1.04 GB, free: 209.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01504/2.337, allocations: 9.697 MB / 1.049 GB, free: 199.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04443/2.381, allocations: 24.62 MB / 1.073 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/2.381, allocations: 16 kB / 1.073 GB, free: 174.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003908/2.385, allocations: 0.8622 MB / 1.074 GB, free: 173.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02497/2.41, allocations: 5.372 MB / 1.079 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001772/2.412, allocations: 223.9 kB / 1.079 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/2.423, allocations: 17.38 MB / 1.096 GB, free: 150 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/2.423, allocations: 27.88 kB / 1.096 GB, free: 150 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "valve3.state_a.T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function Modelica.Fluid.Examples.IncompressibleFluidNetwork.valve3.Medium.T_ph.f_nonlinear(#(pipe11.statesFM[2].p), #(pipe11.mediums[2].h)), 243.15, 373.15, 1e-13)" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1404/2.564, allocations: 41.36 MB / 1.137 GB, free: 108 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.