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.001091/0.001091, allocations: 110.1 kB / 17.09 MB, free: 5.98 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.001142/0.001142, allocations: 194.6 kB / 18.03 MB, free: 5.066 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.339/1.339, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.3763/0.3763, allocations: 64.93 MB / 356.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 496 MB, free: 8.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 63.53 MB / 0.5464 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.006497/0.3595, allocations: 7.376 MB / 0.5536 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005236/0.3647, allocations: 4.383 MB / 0.5579 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007795/0.3655, allocations: 8.25 kB / 0.5579 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.3669, allocations: 0.5599 MB / 0.5584 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.3682, allocations: 0.6992 MB / 0.5591 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3693, allocations: 0.5287 MB / 0.5596 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.3718, allocations: 2.453 MB / 0.562 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009351/0.3728, allocations: 0.7486 MB / 0.5627 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.3739, allocations: 0.8567 MB / 0.5636 GB, free: 21.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.3753, allocations: 1.046 MB / 0.5646 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.3756, allocations: 207 kB / 0.5648 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.376, allocations: 208.1 kB / 0.565 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006352/0.3766, allocations: 0.8042 MB / 0.5658 GB, free: 20.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009529/0.3776, allocations: 1.088 MB / 0.5668 GB, free: 19.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.3807, allocations: 3.071 MB / 0.5698 GB, free: 18.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3807, allocations: 1.062 kB / 0.5698 GB, free: 18.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3807, allocations: 0.7031 kB / 0.5698 GB, free: 18.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.124e-05/0.3807, allocations: 4 kB / 0.5698 GB, free: 18.53 MB / 446.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.004739/0.3855, allocations: 2.156 MB / 0.572 GB, free: 17.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3855, allocations: 12.53 kB / 0.572 GB, free: 17.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.3859, allocations: 191.3 kB / 0.5721 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.3871, allocations: 0.7513 MB / 0.5729 GB, free: 16.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.3872, allocations: 148.5 kB / 0.573 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007455/0.3879, allocations: 267.6 kB / 0.5733 GB, free: 16.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.3919, allocations: 2.736 MB / 0.5759 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.392, allocations: 10.38 kB / 0.576 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.3922, allocations: 89.39 kB / 0.576 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001642/0.3924, allocations: 151.8 kB / 0.5762 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003408/0.3958, allocations: 2.165 MB / 0.5783 GB, free: 13.59 MB / 446.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.01073/0.4065, allocations: 10.81 MB / 0.5889 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.4086, allocations: 2.779 MB / 0.5916 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009878/0.4096, allocations: 0.6316 MB / 0.5922 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.4097, allocations: 29.11 kB / 0.5922 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.4097, allocations: 54 kB / 0.5923 GB, free: 1.008 MB / 446.1 MB Notification: Performance of pre-optimization done (n=115): time 3.747e-06/0.4098, allocations: 0 / 0.5923 GB, free: 1.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=134): time 0.01982/0.4296, allocations: 7.026 MB / 0.5991 GB, free: 12.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.4297, allocations: 195.2 kB / 0.5993 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/0.4312, allocations: 1.094 MB / 0.6004 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.4314, allocations: 45.7 kB / 0.6004 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.4319, allocations: 0.9278 MB / 0.6013 GB, free: 10.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/0.4323, allocations: 465.7 kB / 0.6018 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006556/0.433, allocations: 427.9 kB / 0.6022 GB, free: 9.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4331, allocations: 345.9 kB / 0.6025 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4346, allocations: 0.8243 MB / 0.6033 GB, free: 8.375 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.4366, allocations: 1.78 MB / 0.6051 GB, free: 6.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003616/0.4402, allocations: 2.776 MB / 0.6078 GB, free: 2.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.4402, allocations: 8 kB / 0.6078 GB, free: 2.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.008632/0.4489, allocations: 3.493 MB / 0.6112 GB, free: 15.38 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.4489, allocations: 20 kB / 0.6112 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.975e-05/0.449, allocations: 40.09 kB / 0.6112 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004721/0.4537, allocations: 0.978 MB / 0.6122 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/0.4567, allocations: 0.5381 MB / 0.6127 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.4684, allocations: 6.602 MB / 0.6192 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.4706, allocations: 111.9 kB / 0.6193 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000272/0.4709, allocations: 116 kB / 0.6194 GB, free: 6.773 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.001044/0.4719, allocations: 0.5486 MB / 0.6199 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.4723, allocations: 126.4 kB / 0.62 GB, free: 6.09 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.002015/0.4743, allocations: 0.9393 MB / 0.621 GB, free: 5.148 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