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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000964/0.0009643, allocations: 93.27 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06356/0.06356, allocations: 10.87 MB / 320.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.561e-05, allocations: 0 / 376.3 MB, free: 77.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1138, allocations: 49.77 MB / 426.1 MB, free: 27.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.928/1.042, allocations: 350.5 MB / 0.7584 GB, free: 47.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.042, allocations: 78.12 kB / 0.7585 GB, free: 47.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05861/1.101, allocations: 29.87 MB / 0.7876 GB, free: 23.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.482e-06/1.101, allocations: 3.938 kB / 0.7876 GB, free: 23.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/1.101, allocations: 4 kB / 0.7876 GB, free: 23.62 MB / 442.7 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.001053/1.102, allocations: 494.6 kB / 0.7881 GB, free: 23.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.102, allocations: 8.031 kB / 0.7881 GB, free: 23.09 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/1.102, allocations: 11.91 kB / 0.7881 GB, free: 23.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/1.102, allocations: 178.9 kB / 0.7883 GB, free: 22.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/1.102, allocations: 0 / 0.7883 GB, free: 22.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/1.102, allocations: 8 kB / 0.7883 GB, free: 22.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002728/1.102, allocations: 155.9 kB / 0.7885 GB, free: 22.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/1.103, allocations: 149 kB / 0.7886 GB, free: 22.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.103, allocations: 0 / 0.7886 GB, free: 22.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.103, allocations: 0 / 0.7886 GB, free: 22.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.103, allocations: 4 kB / 0.7886 GB, free: 22.55 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Interfaces/FlowPort_a.mo:3:1-11:15:writable] Error: Found equation without time-dependent variables: port_b.m_flow[1] = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/1.103, allocations: 257.7 kB / 0.7889 GB, free: 22.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/1.103, allocations: 178.5 kB / 0.789 GB, free: 22.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/1.103, allocations: 124.8 kB / 0.7891 GB, free: 21.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/1.104, allocations: 11.98 kB / 0.7892 GB, free: 21.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/1.104, allocations: 42.56 kB / 0.7892 GB, free: 21.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=26): time 1.263e-06/1.104, allocations: 0 / 0.7892 GB, free: 21.89 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/FluidDynamics/Interfaces/FlowPort_b.mo:3:1-11:15:writable] Error: Model is structurally singular, error found sorting equations 25: port_b.H_flow = 0.0; 22: port_a.H_flow + port_b.H_flow = 0.0; 23: port_a.H_flow = 0.0; 26: port_b.m_flow[1] = 0.0; 20: port_a.m_flow[1] + port_b.m_flow[1] = 0.0; 24: port_a.m_flow[1] = 0.0; for variables M(18), state_upstream.p(16), gamma(19), port_a.d[1](9), state_a.T(13), T(17), m_flow(23), c(24) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!