Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.conf.json 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/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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 118.1 kB / 17.09 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 194.7 kB / 18.03 MB, free: 5.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3611/0.3611, allocations: 64.94 MB / 356.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 63.91 kB / 495.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3007, allocations: 63.56 MB / 0.5464 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007956/0.3087, allocations: 7.378 MB / 0.5536 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00576/0.3145, allocations: 4.384 MB / 0.5579 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.3152, allocations: 11.94 kB / 0.5579 GB, free: 5.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.3165, allocations: 0.5474 MB / 0.5584 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.3178, allocations: 0.726 MB / 0.5591 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000967/0.3188, allocations: 0.5228 MB / 0.5596 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002262/0.321, allocations: 2.458 MB / 0.562 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008312/0.3219, allocations: 0.7497 MB / 0.5628 GB, free: 456 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.3229, allocations: 0.853 MB / 0.5636 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.3242, allocations: 1.051 MB / 0.5646 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.3245, allocations: 212 kB / 0.5648 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.3249, allocations: 207.9 kB / 0.565 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006152/0.3255, allocations: 0.7988 MB / 0.5658 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009893/0.3265, allocations: 1.085 MB / 0.5669 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.3291, allocations: 3.079 MB / 0.5699 GB, free: 9.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3292, allocations: 0 / 0.5699 GB, free: 9.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3292, allocations: 4 kB / 0.5699 GB, free: 9.141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.327e-05/0.3292, allocations: 0 / 0.5699 GB, free: 9.141 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.004341/0.3336, allocations: 2.195 MB / 0.572 GB, free: 6.887 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3336, allocations: 8.031 kB / 0.572 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.3339, allocations: 203.7 kB / 0.5722 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3351, allocations: 0.7554 MB / 0.573 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3352, allocations: 152.3 kB / 0.5731 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007299/0.3359, allocations: 272.5 kB / 0.5734 GB, free: 5.465 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004041/0.34, allocations: 2.731 MB / 0.576 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.34, allocations: 7.938 kB / 0.576 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.3402, allocations: 84 kB / 0.5761 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.3404, allocations: 147.5 kB / 0.5763 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/0.3439, allocations: 2.184 MB / 0.5784 GB, free: 128 kB / 430.1 MB 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.01186/0.3558, allocations: 10.82 MB / 0.589 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002564/0.3584, allocations: 2.782 MB / 0.5917 GB, free: 1.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.3594, allocations: 0.6405 MB / 0.5923 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.3596, allocations: 20.88 kB / 0.5923 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.3596, allocations: 51.56 kB / 0.5924 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.296e-06/0.3596, allocations: 0 / 0.5924 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01861/0.3782, allocations: 7.123 MB / 0.5993 GB, free: 9.562 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.3783, allocations: 201.2 kB / 0.5995 GB, free: 9.324 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.3797, allocations: 1.098 MB / 0.6006 GB, free: 8.203 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.639e-05/0.3798, allocations: 45.7 kB / 0.6006 GB, free: 8.152 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.3804, allocations: 0.9629 MB / 0.6016 GB, free: 7.176 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003726/0.3808, allocations: 484.1 kB / 0.602 GB, free: 6.699 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006363/0.3814, allocations: 436.2 kB / 0.6025 GB, free: 6.266 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3816, allocations: 345.9 kB / 0.6028 GB, free: 5.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.383, allocations: 0.8204 MB / 0.6036 GB, free: 5.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.385, allocations: 1.784 MB / 0.6053 GB, free: 2.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003669/0.3887, allocations: 2.776 MB / 0.608 GB, free: 15.61 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.3888, allocations: 8 kB / 0.608 GB, free: 15.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.008326/0.3971, allocations: 3.501 MB / 0.6115 GB, free: 12.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.3971, allocations: 16 kB / 0.6115 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.3972, allocations: 35.98 kB / 0.6115 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/0.4018, allocations: 0.981 MB / 0.6125 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/0.4046, allocations: 0.5459 MB / 0.613 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.4161, allocations: 6.608 MB / 0.6195 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.4177, allocations: 99.95 kB / 0.6196 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.4179, allocations: 120 kB / 0.6197 GB, free: 3.492 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,15,48.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008881/0.4188, allocations: 0.5447 MB / 0.6202 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.4192, allocations: 139.1 kB / 0.6203 GB, free: 2.801 MB / 478.1 MB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 139 equation(s) and 121 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.4211, allocations: 0.9316 MB / 0.6212 GB, free: 1.867 MB / 478.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermalSeparation.Examples.Testing.Pump.PumpSystem could not be translated