Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.289/1.289, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001042/0.001042, allocations: 100.8 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4196/0.4196, allocations: 44.13 MB / 386.1 MB, free: 37.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 55.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3122, allocations: 60.79 MB / 0.5064 GB, free: 38.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.08829/0.4005, allocations: 95.5 MB / 0.5996 GB, free: 448 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0341/0.4347, allocations: 22.61 MB / 0.6217 GB, free: 9.77 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004521/0.4393, allocations: 119.1 kB / 0.6218 GB, free: 9.652 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003725/0.4431, allocations: 0.8159 MB / 0.6226 GB, free: 8.832 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.4561, allocations: 3.513 MB / 0.6261 GB, free: 5.305 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.4709, allocations: 4.949 MB / 0.6309 GB, free: 372 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01476/0.4857, allocations: 10.73 MB / 0.6414 GB, free: 5.602 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.4895, allocations: 1.586 MB / 0.6429 GB, free: 3.996 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4791/0.9687, allocations: 73.45 MB / 0.7147 GB, free: 25.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0626/1.031, allocations: 31.96 MB / 0.7459 GB, free: 11.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/1.032, allocations: 132 kB / 0.746 GB, free: 11.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/1.046, allocations: 5.962 MB / 0.7518 GB, free: 6.684 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/1.047, allocations: 0.9803 MB / 0.7528 GB, free: 6.027 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002369/1.05, allocations: 1.375 MB / 0.7541 GB, free: 5.332 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007981/1.058, allocations: 5.378 MB / 0.7594 GB, free: 1.273 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.058, allocations: 0 / 0.7594 GB, free: 1.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.342e-06/1.058, allocations: 0 / 0.7594 GB, free: 1.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.229e-05/1.058, allocations: 0 / 0.7594 GB, free: 1.273 MB / 490.7 MB 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.008741/1.067, allocations: 3.5 MB / 0.7628 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.067, allocations: 8.031 kB / 0.7628 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.068, allocations: 304.6 kB / 0.7631 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003048/1.071, allocations: 1.581 MB / 0.7646 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/1.071, allocations: 214.5 kB / 0.7648 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/1.071, allocations: 192.6 kB / 0.765 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/1.076, allocations: 3.306 MB / 0.7682 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/1.076, allocations: 10.53 kB / 0.7683 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/1.077, allocations: 81.97 kB / 0.7683 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002956/1.077, allocations: 247.5 kB / 0.7686 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0049/1.082, allocations: 3.115 MB / 0.7716 GB, free: 7.625 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.01907/1.101, allocations: 13.79 MB / 0.7851 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/1.105, allocations: 2.217 MB / 0.7872 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/1.107, allocations: 1.357 MB / 0.7886 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009265/1.116, allocations: 5.868 MB / 0.7943 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/1.117, allocations: 52.56 kB / 0.7943 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008133/1.117, allocations: 182 kB / 0.7945 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 4.608e-06/1.117, allocations: 2.156 kB / 0.7945 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197): time 0.03118/1.149, allocations: 10.64 MB / 0.8049 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/1.149, allocations: 73.41 kB / 0.805 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/1.151, allocations: 1.845 MB / 0.8068 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/1.152, allocations: 62.83 kB / 0.8068 GB, free: 5.266 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007873/1.152, allocations: 1.058 MB / 0.8079 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007174/1.153, allocations: 0.6792 MB / 0.8085 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008453/1.154, allocations: 452.4 kB / 0.809 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.154, allocations: 309.1 kB / 0.8093 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/1.156, allocations: 1.231 MB / 0.8105 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.159, allocations: 1.803 MB / 0.8122 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/1.163, allocations: 3.16 MB / 0.8153 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.163, allocations: 4 kB / 0.8153 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01011/1.173, allocations: 4.016 MB / 0.8192 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.173, allocations: 12 kB / 0.8193 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-05/1.173, allocations: 16 kB / 0.8193 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006669/1.18, allocations: 1.243 MB / 0.8205 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003153/1.183, allocations: 480.6 kB / 0.8209 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.2, allocations: 10.54 MB / 0.8312 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/1.204, allocations: 195.7 kB / 0.8314 GB, free: 11.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/1.204, allocations: 116 kB / 0.8315 GB, free: 11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005036/1.209, allocations: 1.672 MB / 0.8332 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004196/1.214, allocations: 1.752 MB / 0.8349 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008245/1.222, allocations: 3.05 MB / 0.8379 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.111e-05/1.222, allocations: 4 kB / 0.8379 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01293/1.235, allocations: 3.773 MB / 0.8415 GB, free: 416 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/1.235, allocations: 15.98 kB / 0.8416 GB, free: 400 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/1.235, allocations: 20 kB / 0.8416 GB, free: 380 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004577/1.24, allocations: 0.8473 MB / 0.8424 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/1.244, allocations: 0.4938 MB / 0.8429 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/1.26, allocations: 10.24 MB / 0.8529 GB, free: 4.129 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.264, allocations: 179.8 kB / 0.8531 GB, free: 3.953 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000589/1.265, allocations: 112 kB / 0.8532 GB, free: 3.844 MB / 0.573 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.001139/1.266, allocations: 324.3 kB / 0.8535 GB, free: 3.551 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000919/1.267, allocations: 237.1 kB / 0.8537 GB, free: 3.316 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.281, allocations: 3.965 MB / 0.8576 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.458e-05/1.281, allocations: 28 kB / 0.8576 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/1.281, allocations: 4 kB / 0.8576 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/1.292, allocations: 3.369 MB / 0.8609 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/1.312, allocations: 6.305 MB / 0.8671 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.312, allocations: 3.938 kB / 0.8671 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.314, allocations: 320.3 kB / 0.8674 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007376/1.322, allocations: 1.201 MB / 0.8685 GB, free: 4.055 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005806/1.322, allocations: 75.95 kB / 0.8686 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/1.337, allocations: 10.43 MB / 0.8788 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.337, allocations: 3.984 kB / 0.8788 GB, free: 8.871 MB / 0.6042 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.6638/2.001, allocations: 63.39 MB / 0.9407 GB, free: 245.3 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.