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.001651/0.001651, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 193 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06415/0.06415, allocations: 10.98 MB / 280.7 MB, free: 10.23 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.001347/0.001347, allocations: 71.89 kB / 340.6 MB, free: 22.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07457/0.07593, allocations: 48.74 MB / 389.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp): time 0.2756/0.3516, allocations: 137.4 MB / 0.5144 GB, free: 8.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.354, allocations: 2.199 MB / 0.5165 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.658e-05/0.3541, allocations: 4 kB / 0.5165 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3544, allocations: 39.75 kB / 0.5166 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.3546, allocations: 75.52 kB / 0.5167 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006257/0.3553, allocations: 227 kB / 0.5169 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.3555, allocations: 183.3 kB / 0.517 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.3556, allocations: 21.33 kB / 0.5171 GB, free: 5.324 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3557, allocations: 83.73 kB / 0.5171 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.356, allocations: 143.6 kB / 0.5173 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.356, allocations: 12 kB / 0.5173 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.3565, allocations: 251.6 kB / 0.5175 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.3566, allocations: 31.89 kB / 0.5176 GB, free: 4.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.3567, allocations: 67.7 kB / 0.5176 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.357, allocations: 205.9 kB / 0.5178 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.357, allocations: 0 / 0.5178 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3571, allocations: 0 / 0.5178 GB, free: 4.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3571, allocations: 0 / 0.5178 GB, free: 4.547 MB / 382.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.001306/0.3584, allocations: 0.5047 MB / 0.5183 GB, free: 3.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3584, allocations: 12.03 kB / 0.5183 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.3585, allocations: 50.73 kB / 0.5184 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.3585, allocations: 12.75 kB / 0.5184 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3586, allocations: 172.3 kB / 0.5186 GB, free: 3.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3587, allocations: 8.375 kB / 0.5186 GB, free: 3.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.3587, allocations: 12.56 kB / 0.5186 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.3591, allocations: 186.1 kB / 0.5188 GB, free: 3.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3591, allocations: 3.938 kB / 0.5188 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3591, allocations: 7.938 kB / 0.5188 GB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3592, allocations: 4 kB / 0.5188 GB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.3596, allocations: 207.8 kB / 0.519 GB, free: 3.281 MB / 382.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.0003988/0.36, allocations: 273.7 kB / 0.5192 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.3605, allocations: 210.4 kB / 0.5194 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3607, allocations: 160.7 kB / 0.5196 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.3608, allocations: 8.438 kB / 0.5196 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.3608, allocations: 34.5 kB / 0.5196 GB, free: 2.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.432e-06/0.3608, allocations: 0 / 0.5196 GB, free: 2.539 MB / 382.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!