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.00127/0.00127, allocations: 108 kB / 15.61 MB, free: 152 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.001102/0.001102, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06691/0.06691, allocations: 10.98 MB / 280.7 MB, free: 10.21 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.0015/0.0015, allocations: 75.88 kB / 340.6 MB, free: 22.73 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07228/0.07379, allocations: 48.74 MB / 389.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.FluidDynamics.Components.Orifices.SimpleOpeningComp): time 0.2751/0.3489, allocations: 137.4 MB / 0.5144 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.3511, allocations: 2.193 MB / 0.5165 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.3512, allocations: 3.938 kB / 0.5165 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3515, allocations: 47.73 kB / 0.5166 GB, free: 5.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3516, allocations: 75.56 kB / 0.5167 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004854/0.3521, allocations: 231 kB / 0.5169 GB, free: 5.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.3523, allocations: 187.2 kB / 0.517 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.282e-05/0.3524, allocations: 21.39 kB / 0.5171 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.3525, allocations: 71.81 kB / 0.5171 GB, free: 5.273 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.3527, allocations: 143.6 kB / 0.5173 GB, free: 5.133 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.3528, allocations: 11.98 kB / 0.5173 GB, free: 5.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.3532, allocations: 255.6 kB / 0.5175 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.3533, allocations: 39.88 kB / 0.5176 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.3534, allocations: 55.73 kB / 0.5176 GB, free: 4.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.3537, allocations: 209.9 kB / 0.5178 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3537, allocations: 0 / 0.5178 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3537, allocations: 0 / 0.5178 GB, free: 4.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.3537, allocations: 0 / 0.5178 GB, free: 4.574 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.00133/0.3551, allocations: 0.5067 MB / 0.5183 GB, free: 4.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3551, allocations: 8.031 kB / 0.5183 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.3552, allocations: 50.67 kB / 0.5184 GB, free: 3.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.3552, allocations: 13.62 kB / 0.5184 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3553, allocations: 176.3 kB / 0.5186 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3554, allocations: 8.375 kB / 0.5186 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.3554, allocations: 16.5 kB / 0.5186 GB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.3558, allocations: 186 kB / 0.5188 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3558, allocations: 0 / 0.5188 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3558, allocations: 4 kB / 0.5188 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3559, allocations: 4 kB / 0.5188 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.3564, allocations: 207.8 kB / 0.519 GB, free: 3.312 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.0003838/0.3568, allocations: 273.7 kB / 0.5192 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003942/0.3572, allocations: 212.2 kB / 0.5194 GB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.3575, allocations: 157.8 kB / 0.5196 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.695e-05/0.3575, allocations: 20.41 kB / 0.5196 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3576, allocations: 30.56 kB / 0.5196 GB, free: 2.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.313e-06/0.3576, allocations: 0 / 0.5196 GB, free: 2.566 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!