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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 207.3 kB / 17.99 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000934/0.0009344, allocations: 96.59 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009366/0.0009367, allocations: 51.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2244, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.IncompressibleFluidNetwork): time 0.3848/0.6092, allocations: 192 MB / 0.585 GB, free: 2.949 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.07007/0.6793, allocations: 46.7 MB / 0.6306 GB, free: 4.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009895/0.6893, allocations: 305.8 kB / 0.6309 GB, free: 3.836 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007538/0.6969, allocations: 1.982 MB / 0.6328 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02889/0.7258, allocations: 12.45 MB / 0.645 GB, free: 5.355 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03425/0.7601, allocations: 14.24 MB / 0.6589 GB, free: 7.152 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.03549/0.7956, allocations: 32.64 MB / 0.6908 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.8061, allocations: 5.001 MB / 0.6957 GB, free: 1.387 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.407/1.213, allocations: 15.27 MB / 0.7106 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0268/1.24, allocations: 16.24 MB / 0.7264 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.005234/1.245, allocations: 403.2 kB / 0.7268 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02656/1.272, allocations: 10.17 MB / 0.7368 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.007149/1.279, allocations: 3.115 MB / 0.7398 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.01025/1.289, allocations: 3.98 MB / 0.7437 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.03038/1.32, allocations: 15.4 MB / 0.7587 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.32, allocations: 0 / 0.7587 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/1.32, allocations: 4 kB / 0.7587 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004588/1.32, allocations: 0 / 0.7587 GB, free: 5.277 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.02842/1.349, allocations: 9.364 MB / 0.7679 GB, free: 376 kB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.349, allocations: 7.781 kB / 0.7679 GB, free: 376 kB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.359, allocations: 1.281 MB / 0.7691 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/1.375, allocations: 5.907 MB / 0.7749 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005363/1.376, allocations: 427.8 kB / 0.7753 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002926/1.379, allocations: 0.5308 MB / 0.7758 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.408, allocations: 9.47 MB / 0.7851 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003377/1.408, allocations: 19.06 kB / 0.7851 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003022/1.411, allocations: 236.4 kB / 0.7853 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001133/1.412, allocations: 0.6996 MB / 0.786 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/1.436, allocations: 8.26 MB / 0.7941 GB, free: 1.574 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.08179/1.517, allocations: 39.21 MB / 0.8324 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.532, allocations: 6.25 MB / 0.8385 GB, free: 11 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007656/1.54, allocations: 3.664 MB / 0.842 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007567/1.547, allocations: 6.596 MB / 0.8485 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002997/1.548, allocations: 92.36 kB / 0.8486 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008293/1.556, allocations: 1.28 MB / 0.8498 GB, free: 15.23 MB / 0.573 GB Notification: Performance of pre-optimization done (n=500): time 3.567e-05/1.556, allocations: 0 / 0.8498 GB, free: 15.23 MB / 0.573 GB Notification: Performance of matching and sorting (n=632): time 0.1973/1.753, allocations: 51.58 MB / 0.9002 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/1.753, allocations: 178.1 kB / 0.9004 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009831/1.763, allocations: 4.864 MB / 0.9051 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002287/1.766, allocations: 145.7 kB / 0.9053 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/1.768, allocations: 2.975 MB / 0.9082 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003474/1.772, allocations: 2.159 MB / 0.9103 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004503/1.776, allocations: 1.453 MB / 0.9117 GB, free: 8 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/1.777, allocations: 301.1 kB / 0.912 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006371/1.783, allocations: 4.046 MB / 0.9159 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008036/1.791, allocations: 5.731 MB / 0.9215 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2613/2.052, allocations: 10.31 MB / 0.9316 GB, free: 325.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.048e-05/2.052, allocations: 15.88 kB / 0.9316 GB, free: 325.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=922) (initialization): time 0.04453/2.097, allocations: 12.75 MB / 0.9441 GB, free: 322 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/2.097, allocations: 31.08 kB / 0.9441 GB, free: 322 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/2.097, allocations: 49.31 kB / 0.9441 GB, free: 322 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03716/2.134, allocations: 5.102 MB / 0.9491 GB, free: 321 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00923/2.144, allocations: 1.363 MB / 0.9504 GB, free: 320.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/2.162, allocations: 17.4 MB / 0.9674 GB, free: 306.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/2.174, allocations: 480 kB / 0.9679 GB, free: 306.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003034/2.177, allocations: 423.4 kB / 0.9683 GB, free: 306.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01575/2.193, allocations: 5.375 MB / 0.9736 GB, free: 304.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01155/2.205, allocations: 5.558 MB / 0.979 GB, free: 301.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0215/2.226, allocations: 9.946 MB / 0.9887 GB, free: 294.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.373e-05/2.227, allocations: 12 kB / 0.9887 GB, free: 294.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=922) (initialization_lambda0): time 0.0302/2.257, allocations: 12.67 MB / 1.001 GB, free: 282 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/2.257, allocations: 24 kB / 1.001 GB, free: 282 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.674e-05/2.257, allocations: 50.25 kB / 1.001 GB, free: 281.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/2.268, allocations: 3.373 MB / 1.004 GB, free: 278.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/2.274, allocations: 1.392 MB / 1.006 GB, free: 277.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/2.292, allocations: 21.94 MB / 1.027 GB, free: 254.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007809/2.3, allocations: 469 kB / 1.028 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/2.302, allocations: 415.4 kB / 1.028 GB, free: 253.9 MB / 0.6355 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.003692/2.306, allocations: 0.6113 MB / 1.029 GB, free: 253.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002798/2.309, allocations: 0.6491 MB / 1.029 GB, free: 252.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03552/2.344, allocations: 18.46 MB / 1.047 GB, free: 234.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-05/2.344, allocations: 64 kB / 1.047 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-05/2.345, allocations: 0 / 1.047 GB, free: 234.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02024/2.365, allocations: 9.698 MB / 1.057 GB, free: 224.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04858/2.413, allocations: 24.63 MB / 1.081 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.326e-05/2.413, allocations: 16.94 kB / 1.081 GB, free: 199.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004105/2.418, allocations: 0.8542 MB / 1.082 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02618/2.444, allocations: 5.397 MB / 1.087 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001558/2.445, allocations: 223.9 kB / 1.087 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/2.457, allocations: 17.38 MB / 1.104 GB, free: 175.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/2.457, allocations: 27.88 kB / 1.104 GB, free: 175.1 MB / 0.6355 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.1209/2.578, allocations: 41.41 MB / 1.145 GB, free: 133 MB / 0.6355 GB Error: post-optimization module symbolicJacobian (simulation) failed.