Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/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 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: "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp,fileNamePrefix="TAeZoSysPro_TAeZoSysPro_FluidDynamics_Components_Orifices_SimpleOpeningComp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006743/0.006744, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001253/0.001253, allocations: 197.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07384/0.07384, allocations: 10.98 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 68.45 kB / 390 MB, free: 5.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2952, allocations: 48.75 MB / 438.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp): time 0.1657/0.4609, allocations: 137.4 MB / 0.5627 GB, free: 3.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.4637, allocations: 2.195 MB / 0.5648 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.4639, allocations: 0 / 0.5648 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.4644, allocations: 43.67 kB / 0.5648 GB, free: 1.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.4646, allocations: 83.56 kB / 0.5649 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007337/0.4653, allocations: 219.1 kB / 0.5651 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.4657, allocations: 187.2 kB / 0.5653 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.4658, allocations: 29.38 kB / 0.5653 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.4659, allocations: 75.75 kB / 0.5654 GB, free: 472 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.4663, allocations: 147.6 kB / 0.5656 GB, free: 324 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.4663, allocations: 8 kB / 0.5656 GB, free: 316 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00058/0.4669, allocations: 255.6 kB / 0.5658 GB, free: 60 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.467, allocations: 43.88 kB / 0.5658 GB, free: 16 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.4671, allocations: 59.84 kB / 0.5659 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.4675, allocations: 205.7 kB / 0.5661 GB, free: 15.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4675, allocations: 0 / 0.5661 GB, free: 15.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4675, allocations: 0 / 0.5661 GB, free: 15.76 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.4675, allocations: 0 / 0.5661 GB, free: 15.76 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001493/0.469, allocations: 0.5108 MB / 0.5666 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4691, allocations: 8.031 kB / 0.5666 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.4692, allocations: 42.73 kB / 0.5666 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.4692, allocations: 16.75 kB / 0.5667 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4694, allocations: 176.3 kB / 0.5668 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.4694, allocations: 4.375 kB / 0.5668 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4694, allocations: 12.38 kB / 0.5668 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.4699, allocations: 193.3 kB / 0.567 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4699, allocations: 0 / 0.567 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.47, allocations: 4 kB / 0.567 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.47, allocations: 0 / 0.567 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.4705, allocations: 203.8 kB / 0.5672 GB, free: 14.5 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Interfaces/FlowPort.mo:10:3-10:48:writable] Error: Found equation without time-dependent variables: port_a.H_flow = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.471, allocations: 265.4 kB / 0.5675 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.4715, allocations: 222.3 kB / 0.5677 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/0.4719, allocations: 160.6 kB / 0.5678 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.472, allocations: 7.984 kB / 0.5679 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.472, allocations: 42.56 kB / 0.5679 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.472, allocations: 0 / 0.5679 GB, free: 13.75 MB / 462.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!