Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183 kB / 16.63 MB, free: 5.137 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.234/1.234, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009501/0.0009499, allocations: 106.3 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3294/0.3294, allocations: 43.48 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009886/0.0009886, allocations: 56.09 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1094, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.2846/0.394, allocations: 95.54 MB / 0.5689 GB, free: 2.578 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03473/0.4288, allocations: 22.58 MB / 0.5909 GB, free: 3.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.433, allocations: 116.8 kB / 0.5911 GB, free: 3.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.4372, allocations: 0.8183 MB / 0.5919 GB, free: 2.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.4491, allocations: 3.509 MB / 0.5953 GB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0149/0.464, allocations: 4.902 MB / 0.6001 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01431/0.4783, allocations: 10.72 MB / 0.6105 GB, free: 7.574 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003695/0.4821, allocations: 1.586 MB / 0.6121 GB, free: 5.973 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1631/0.6452, allocations: 73.44 MB / 0.6838 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.316/0.9613, allocations: 31.95 MB / 0.715 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009833/0.9624, allocations: 131.2 kB / 0.7151 GB, free: 76.94 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01399/0.9764, allocations: 5.96 MB / 0.7209 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002158/0.9786, allocations: 0.9744 MB / 0.7219 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.9816, allocations: 1.381 MB / 0.7232 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.9919, allocations: 5.365 MB / 0.7285 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.992, allocations: 0.8438 kB / 0.7285 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.422e-06/0.992, allocations: 0 / 0.7285 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001053/0.9921, allocations: 0 / 0.7285 GB, free: 75.56 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: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01085/1.003, allocations: 3.503 MB / 0.7319 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.003, allocations: 7.562 kB / 0.7319 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/1.004, allocations: 311.1 kB / 0.7322 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003109/1.007, allocations: 1.575 MB / 0.7337 GB, free: 73.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/1.007, allocations: 222.4 kB / 0.734 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/1.008, allocations: 193.8 kB / 0.7341 GB, free: 73.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/1.013, allocations: 3.295 MB / 0.7374 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/1.013, allocations: 11.41 kB / 0.7374 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/1.013, allocations: 83.34 kB / 0.7375 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/1.013, allocations: 249.5 kB / 0.7377 GB, free: 73.11 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/1.018, allocations: 3.117 MB / 0.7407 GB, free: 73.01 MB / 0.4948 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.01669/1.034, allocations: 13.79 MB / 0.7542 GB, free: 63.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/1.038, allocations: 2.212 MB / 0.7564 GB, free: 62.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/1.04, allocations: 1.347 MB / 0.7577 GB, free: 61.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008157/1.048, allocations: 5.88 MB / 0.7634 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/1.048, allocations: 54.17 kB / 0.7635 GB, free: 56.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001045/1.049, allocations: 184.2 kB / 0.7637 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=171): time 6.622e-06/1.049, allocations: 0 / 0.7637 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=197): time 0.03111/1.08, allocations: 10.63 MB / 0.774 GB, free: 47.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/1.08, allocations: 73.34 kB / 0.7741 GB, free: 47.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.083, allocations: 1.841 MB / 0.7759 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002726/1.083, allocations: 61.7 kB / 0.776 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/1.083, allocations: 1.059 MB / 0.777 GB, free: 44.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004912/1.084, allocations: 0.6798 MB / 0.7777 GB, free: 43.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006343/1.084, allocations: 460.3 kB / 0.7781 GB, free: 43.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.34e-05/1.084, allocations: 305.1 kB / 0.7784 GB, free: 43.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.086, allocations: 1.24 MB / 0.7796 GB, free: 41.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/1.088, allocations: 1.798 MB / 0.7814 GB, free: 39.79 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/1.091, allocations: 3.157 MB / 0.7844 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/1.091, allocations: 8 kB / 0.7844 GB, free: 36.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007004/1.098, allocations: 4.019 MB / 0.7884 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/1.099, allocations: 12 kB / 0.7884 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.099, allocations: 19.94 kB / 0.7884 GB, free: 32.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/1.103, allocations: 1.237 MB / 0.7896 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001878/1.105, allocations: 474.2 kB / 0.7901 GB, free: 30.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007683/1.112, allocations: 10.55 MB / 0.8004 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.116, allocations: 187.7 kB / 0.8005 GB, free: 19.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00058/1.116, allocations: 112 kB / 0.8007 GB, free: 19.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003159/1.12, allocations: 1.672 MB / 0.8023 GB, free: 17.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002195/1.122, allocations: 1.753 MB / 0.804 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003875/1.126, allocations: 3.049 MB / 0.807 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.531e-05/1.126, allocations: 7.656 kB / 0.807 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.006368/1.132, allocations: 3.773 MB / 0.8107 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.132, allocations: 12 kB / 0.8107 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.132, allocations: 20 kB / 0.8107 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/1.134, allocations: 0.8533 MB / 0.8115 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.136, allocations: 0.496 MB / 0.812 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007226/1.144, allocations: 10.24 MB / 0.822 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/1.147, allocations: 187.6 kB / 0.8222 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/1.147, allocations: 108 kB / 0.8223 GB, free: 12.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,6,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,14), (2,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009859/1.148, allocations: 330.4 kB / 0.8226 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000914/1.149, allocations: 229.3 kB / 0.8228 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008227/1.157, allocations: 3.963 MB / 0.8267 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/1.157, allocations: 24 kB / 0.8267 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/1.157, allocations: 4 kB / 0.8267 GB, free: 7.652 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005655/1.163, allocations: 3.383 MB / 0.83 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.175, allocations: 6.3 MB / 0.8362 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.175, allocations: 0 / 0.8362 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/1.177, allocations: 312.3 kB / 0.8365 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004107/1.181, allocations: 1.2 MB / 0.8377 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002612/1.181, allocations: 71.95 kB / 0.8377 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008816/1.19, allocations: 10.43 MB / 0.8479 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.19, allocations: 3.984 kB / 0.8479 GB, free: 1.172 MB / 0.5261 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.4265/1.616, allocations: 63.42 MB / 0.9098 GB, free: 0.7461 MB / 0.5886 GB Error: post-optimization module symbolicJacobian (simulation) failed.