Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001162/0.001162, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001029/0.001029, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3613/0.3613, allocations: 44.84 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 59.91 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3029, allocations: 62.02 MB / 0.5151 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.09052/0.3934, allocations: 95.63 MB / 0.6085 GB, free: 9.73 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03594/0.4294, allocations: 22.6 MB / 0.6306 GB, free: 3.078 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/0.4333, allocations: 119.1 kB / 0.6307 GB, free: 2.961 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00306/0.4364, allocations: 0.816 MB / 0.6315 GB, free: 2.141 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.4469, allocations: 3.539 MB / 0.635 GB, free: 14.59 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01319/0.4601, allocations: 4.92 MB / 0.6398 GB, free: 9.676 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.4725, allocations: 10.75 MB / 0.6503 GB, free: 14.9 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004429/0.477, allocations: 1.598 MB / 0.6518 GB, free: 13.28 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4373/0.9144, allocations: 73.5 MB / 0.7236 GB, free: 16.92 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06076/0.9752, allocations: 31.99 MB / 0.7549 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0009363/0.9761, allocations: 132 kB / 0.755 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.9907, allocations: 5.977 MB / 0.7608 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002044/0.9928, allocations: 0.9762 MB / 0.7618 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.9956, allocations: 1.386 MB / 0.7631 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/1.006, allocations: 5.379 MB / 0.7684 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.945e-05/1.006, allocations: 3.938 kB / 0.7684 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.114e-06/1.006, allocations: 0 / 0.7684 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001441/1.006, allocations: 0 / 0.7684 GB, free: 5.645 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.01025/1.016, allocations: 3.498 MB / 0.7718 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.016, allocations: 11.03 kB / 0.7718 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.017, allocations: 307.9 kB / 0.7721 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/1.021, allocations: 1.579 MB / 0.7736 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/1.021, allocations: 218.4 kB / 0.7739 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/1.021, allocations: 195 kB / 0.774 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/1.028, allocations: 3.292 MB / 0.7773 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/1.028, allocations: 11.28 kB / 0.7773 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/1.028, allocations: 82.39 kB / 0.7773 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003227/1.028, allocations: 254.4 kB / 0.7776 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00564/1.034, allocations: 3.109 MB / 0.7806 GB, free: 11.98 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.0217/1.056, allocations: 13.79 MB / 0.7941 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004261/1.06, allocations: 2.216 MB / 0.7963 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.062, allocations: 1.356 MB / 0.7976 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009391/1.072, allocations: 5.878 MB / 0.8033 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/1.072, allocations: 60.41 kB / 0.8034 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009065/1.073, allocations: 182 kB / 0.8036 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 5.179e-06/1.073, allocations: 0 / 0.8036 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.03213/1.105, allocations: 10.62 MB / 0.8139 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/1.105, allocations: 73.41 kB / 0.814 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002811/1.108, allocations: 1.845 MB / 0.8158 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003254/1.108, allocations: 65.7 kB / 0.8159 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007879/1.109, allocations: 1.062 MB / 0.8169 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/1.11, allocations: 0.6849 MB / 0.8176 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009834/1.111, allocations: 452.4 kB / 0.818 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/1.111, allocations: 305.1 kB / 0.8183 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/1.113, allocations: 1.232 MB / 0.8195 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002633/1.115, allocations: 1.809 MB / 0.8213 GB, free: 2.988 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/1.12, allocations: 3.158 MB / 0.8243 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/1.12, allocations: 8 kB / 0.8243 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00799/1.128, allocations: 4.014 MB / 0.8283 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/1.128, allocations: 12 kB / 0.8283 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/1.128, allocations: 16 kB / 0.8283 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004714/1.133, allocations: 1.241 MB / 0.8295 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/1.135, allocations: 481.2 kB / 0.83 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.148, allocations: 10.53 MB / 0.8403 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004555/1.153, allocations: 187.6 kB / 0.8404 GB, free: 14.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008115/1.154, allocations: 116.2 kB / 0.8405 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00519/1.159, allocations: 1.672 MB / 0.8422 GB, free: 12.83 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004304/1.163, allocations: 1.757 MB / 0.8439 GB, free: 10.82 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007655/1.171, allocations: 3.049 MB / 0.8469 GB, free: 7.605 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.565e-05/1.171, allocations: 11.59 kB / 0.8469 GB, free: 7.598 MB / 0.573 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01016/1.181, allocations: 3.777 MB / 0.8506 GB, free: 3.902 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/1.181, allocations: 12 kB / 0.8506 GB, free: 3.891 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/1.181, allocations: 16 kB / 0.8506 GB, free: 3.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/1.184, allocations: 0.8516 MB / 0.8514 GB, free: 3.004 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/1.186, allocations: 0.4949 MB / 0.8519 GB, free: 2.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009186/1.195, allocations: 10.25 MB / 0.8619 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.197, allocations: 173.1 kB / 0.8621 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/1.197, allocations: 112 kB / 0.8622 GB, free: 7.336 MB / 0.5886 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.0007018/1.198, allocations: 327 kB / 0.8625 GB, free: 7.039 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006104/1.199, allocations: 229.1 kB / 0.8627 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007964/1.207, allocations: 3.959 MB / 0.8666 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/1.207, allocations: 24 kB / 0.8666 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.207, allocations: 0 / 0.8666 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005659/1.212, allocations: 3.388 MB / 0.8699 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/1.225, allocations: 6.295 MB / 0.8761 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.225, allocations: 7.219 kB / 0.8761 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.226, allocations: 319.6 kB / 0.8764 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/1.23, allocations: 1.195 MB / 0.8775 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003888/1.231, allocations: 71.95 kB / 0.8776 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/1.24, allocations: 10.44 MB / 0.8878 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.24, allocations: 0 / 0.8878 GB, free: 12.38 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.6409/1.881, allocations: 63.55 MB / 0.9499 GB, free: 247 MB / 0.6198 GB Error: post-optimization module symbolicJacobian (simulation) failed.