Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_2element.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-alpha11 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1207/0.1207, allocations: 15.27 MB / 30.53 MB, free: 3.211 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008803/0.0008805, allocations: 194.8 kB / 35.63 MB, free: 2.25 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.7 MB / 266.3 MB, free: 6.191 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 103.2 kB / 321.7 MB, free: 2.184 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.126/0.126, allocations: 20.56 MB / 397.6 MB, free: 42.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007048/0.0007052, allocations: 24 kB / 469.5 MB, free: 3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3229, allocations: 59.77 MB / 0.5168 GB, free: 40.99 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo:1144:9-1144:68:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Fluid.Examples.Windkessel_2element): time 0.06635/0.3893, allocations: 73.05 MB / 0.5882 GB, free: 5.883 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.4146, allocations: 24.19 MB / 0.6118 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.4158, allocations: 19.81 kB / 0.6118 GB, free: 14.35 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.4171, allocations: 301.9 kB / 0.6121 GB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00614/0.4232, allocations: 1.983 MB / 0.614 GB, free: 12.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.4277, allocations: 1.291 MB / 0.6153 GB, free: 11.49 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.4298, allocations: 1.81 MB / 0.6171 GB, free: 10.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.4303, allocations: 321 kB / 0.6174 GB, free: 9.805 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008668/0.4312, allocations: 468.3 kB / 0.6178 GB, free: 9.41 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.4317, allocations: 426.1 kB / 0.6182 GB, free: 9.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.4318, allocations: 24 kB / 0.6182 GB, free: 9.047 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006772/0.4386, allocations: 2.197 MB / 0.6204 GB, free: 7.117 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4388, allocations: 111.2 kB / 0.6205 GB, free: 7.035 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.4392, allocations: 270.7 kB / 0.6207 GB, free: 6.781 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008362/0.4476, allocations: 2.574 MB / 0.6233 GB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4476, allocations: 3.938 kB / 0.6233 GB, free: 4.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4476, allocations: 0 / 0.6233 GB, free: 4.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.4477, allocations: 0 / 0.6233 GB, free: 4.672 MB / 426.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.002473/0.4501, allocations: 1.04 MB / 0.6243 GB, free: 3.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.4502, allocations: 8.031 kB / 0.6243 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.4503, allocations: 51.44 kB / 0.6243 GB, free: 3.605 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/0.4509, allocations: 377.2 kB / 0.6247 GB, free: 3.238 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.4509, allocations: 29 kB / 0.6247 GB, free: 3.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.451, allocations: 36.61 kB / 0.6248 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.4518, allocations: 427.5 kB / 0.6252 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4518, allocations: 0 / 0.6252 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.4519, allocations: 16 kB / 0.6252 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.4519, allocations: 8.797 kB / 0.6252 GB, free: 2.789 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000763/0.4527, allocations: 354.4 kB / 0.6255 GB, free: 2.496 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Analog/Interfaces/PositivePin.mo:9:3-14:61:writable] Error: Found equation without time-dependent variables: conductor.n.i = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.4555, allocations: 1.905 MB / 0.6274 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000763/0.4562, allocations: 378.9 kB / 0.6278 GB, free: 276 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.4566, allocations: 173.4 kB / 0.6279 GB, free: 116 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001524/0.4581, allocations: 1.082 MB / 0.629 GB, free: 15.05 MB / 442.7 MB Error: An independent subset of the model has imbalanced number of equations (1) and variables (0). variables: equations: 1 : 0.0 = 0.0 Notification: Performance of preOpt encapsulateWhenConditions (simulation) : time 0.0003574/0.4585, allocations: 190 kB / 0.6292 GB, free: 14.87 MB / 442.7 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed.