Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1207/0.1207, allocations: 15.26 MB / 31.2 MB, free: 3.23 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009141/0.0009143, allocations: 176.4 kB / 36.29 MB, free: 2.266 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 264.5 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007772/0.000777, allocations: 95.75 kB / 319.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.1035/0.1035, allocations: 20.56 MB / 395.8 MB, free: 43.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005566, allocations: 19.94 kB / 467.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2727, allocations: 59.78 MB / 0.515 GB, free: 41.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.4374, allocations: 172.4 MB / 0.6834 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4377, allocations: 83.95 kB / 0.6834 GB, free: 12.61 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1652:9-1652:68:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System arteries.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Components.ElasticVessel$arteries. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System resistance.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Components.Conductor$resistance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:2326:10-2326:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System unlimitedPump.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Sources.MassInflowSource$unlimitedPump. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1652:9-1652:68:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System unlimitedVolume.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Sources.PressureSource. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1807:10-1807:69:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System pressureMeasure.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Sensors.PressureMeasure. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System flowMeasure.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Fluid.Sensors.FlowMeasure. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.457/0.8947, allocations: 129.9 MB / 0.8103 GB, free: 66 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.8947, allocations: 0 / 0.8103 GB, free: 66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.414e-05/0.8948, allocations: 16 kB / 0.8103 GB, free: 65.98 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002213/0.897, allocations: 1.271 MB / 0.8116 GB, free: 64.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.8971, allocations: 12.03 kB / 0.8116 GB, free: 64.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.8972, allocations: 80 kB / 0.8117 GB, free: 64.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.8981, allocations: 0.5977 MB / 0.8122 GB, free: 63.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.8981, allocations: 25.38 kB / 0.8123 GB, free: 63.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.8982, allocations: 40.36 kB / 0.8123 GB, free: 63.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005959/0.8988, allocations: 435.6 kB / 0.8127 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.8988, allocations: 192 / 0.8127 GB, free: 63.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.8988, allocations: 15.94 kB / 0.8127 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8989, allocations: 8 kB / 0.8127 GB, free: 63.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.8994, allocations: 358.4 kB / 0.8131 GB, free: 63.05 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Analog/Interfaces/PositivePin.mo:2:1-40:16:writable] Error: Found equation without time-dependent variables: conductor.n.i = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.9014, allocations: 1.968 MB / 0.815 GB, free: 60.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005465/0.902, allocations: 376.6 kB / 0.8154 GB, free: 60.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.9023, allocations: 169.8 kB / 0.8155 GB, free: 60.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.9034, allocations: 1.091 MB / 0.8166 GB, free: 59.12 MB / 490.7 MB Error: An independent subset of the model has imbalanced number of equations (2) and variables (3). variables: conductor.n.v conductor.p.v conductor.v equations: 1 : conductor.v = conductor.p.v - conductor.n.v 2 : 0.0 = conductor.G_actual * conductor.v Notification: Performance of preOpt encapsulateWhenConditions (simulation) : time 0.0002814/0.9037, allocations: 202.1 kB / 0.8168 GB, free: 58.91 MB / 490.7 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.