Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.7 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.001096/0.001096, allocations: 174.1 kB / 382.3 MB, free: 14.84 MB / 314.7 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.466/1.466, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.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.0008706/0.0008706, allocations: 92.44 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003698, allocations: 8 kB / 0.9058 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6425/0.6428, allocations: 119.2 MB / 1.022 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01702/0.6599, allocations: 20.5 MB / 1.042 GB, free: 43.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007438/0.6674, allocations: 7.951 MB / 1.05 GB, free: 36.3 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000902/0.6683, allocations: 19.47 kB / 1.05 GB, free: 36.29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008406/0.6692, allocations: 287.1 kB / 1.05 GB, free: 36.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.6717, allocations: 0.8407 MB / 1.051 GB, free: 35.67 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.6743, allocations: 0.8145 MB / 1.052 GB, free: 35.28 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002555/0.6769, allocations: 2.269 MB / 1.054 GB, free: 34.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.6775, allocations: 419.1 kB / 1.055 GB, free: 34.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.6785, allocations: 0.6237 MB / 1.055 GB, free: 34.07 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.6791, allocations: 493.5 kB / 1.056 GB, free: 33.88 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.6792, allocations: 25.19 kB / 1.056 GB, free: 33.88 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.6811, allocations: 1.052 MB / 1.057 GB, free: 33.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.6812, allocations: 122.4 kB / 1.057 GB, free: 33.49 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.6815, allocations: 330 kB / 1.057 GB, free: 33.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.6829, allocations: 1.18 MB / 1.058 GB, free: 32.92 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.6829, allocations: 0 / 1.058 GB, free: 32.92 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.683, allocations: 0 / 1.058 GB, free: 32.92 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.683, allocations: 0 / 1.058 GB, free: 32.92 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001295/0.6843, allocations: 0.9244 MB / 1.059 GB, free: 32.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.6843, allocations: 12.66 kB / 1.059 GB, free: 32.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008249/0.6851, allocations: 196.8 kB / 1.059 GB, free: 32.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.6861, allocations: 0.5562 MB / 1.06 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.6864, allocations: 98.27 kB / 1.06 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.6865, allocations: 42.19 kB / 1.06 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.6873, allocations: 0.4976 MB / 1.061 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6874, allocations: 0 / 1.061 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.6874, allocations: 15.31 kB / 1.061 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6874, allocations: 9.781 kB / 1.061 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009023/0.6884, allocations: 428.2 kB / 1.061 GB, free: 31.39 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.6907, allocations: 2.304 MB / 1.063 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.6917, allocations: 398.4 kB / 1.064 GB, free: 29.47 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.6921, allocations: 239.5 kB / 1.064 GB, free: 29.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.6924, allocations: 338.2 kB / 1.064 GB, free: 29.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005552/0.6929, allocations: 307.7 kB / 1.064 GB, free: 28.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 1.954e-06/0.6929, allocations: 0 / 1.064 GB, free: 28.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002046/0.695, allocations: 0.8988 MB / 1.065 GB, free: 28.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.695, allocations: 83.39 kB / 1.065 GB, free: 28.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.6955, allocations: 492.1 kB / 1.066 GB, free: 28.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.6955, allocations: 32.61 kB / 1.066 GB, free: 28.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.6957, allocations: 278.5 kB / 1.066 GB, free: 27.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.609e-05/0.6958, allocations: 104.4 kB / 1.066 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.6958, allocations: 4 kB / 1.066 GB, free: 27.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.42e-05/0.6959, allocations: 364.2 kB / 1.067 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.6963, allocations: 182.9 kB / 1.067 GB, free: 27.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.6967, allocations: 282.3 kB / 1.067 GB, free: 27.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007976/0.6975, allocations: 488.7 kB / 1.068 GB, free: 27.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6976, allocations: 3.938 kB / 1.068 GB, free: 27.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001224/0.6988, allocations: 0.6254 MB / 1.068 GB, free: 26.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.6989, allocations: 172 kB / 1.068 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.6989, allocations: 0 / 1.068 GB, free: 26.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003331/0.6992, allocations: 72.98 kB / 1.068 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.6996, allocations: 80.44 kB / 1.068 GB, free: 26.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003613/0.7, allocations: 0.6024 MB / 1.069 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005304/0.7005, allocations: 74.5 kB / 1.069 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.7005, allocations: 22.59 kB / 1.069 GB, free: 25.99 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.851e-06/0.7006, allocations: 3.031 kB / 1.069 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/0.7016, allocations: 0.5607 MB / 1.07 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7016, allocations: 3 kB / 1.07 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.7018, allocations: 53.02 kB / 1.07 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.7021, allocations: 78.5 kB / 1.07 GB, free: 25.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.7032, allocations: 1.629 MB / 1.071 GB, free: 24.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.7037, allocations: 78.98 kB / 1.071 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.7038, allocations: 16.44 kB / 1.072 GB, free: 24.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003114/0.7041, allocations: 298.8 kB / 1.072 GB, free: 23.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.7041, allocations: 60.97 kB / 1.072 GB, free: 23.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.7054, allocations: 0.675 MB / 1.073 GB, free: 23.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7054, allocations: 4.828 kB / 1.073 GB, free: 23.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.7054, allocations: 0 / 1.073 GB, free: 23.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.7065, allocations: 0.8221 MB / 1.073 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.7084, allocations: 1.321 MB / 1.075 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7084, allocations: 3 kB / 1.075 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.7087, allocations: 69.16 kB / 1.075 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001158/0.7089, allocations: 41.73 kB / 1.075 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.7089, allocations: 13.62 kB / 1.075 GB, free: 22.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000229/0.7091, allocations: 0.5775 MB / 1.075 GB, free: 21.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7092, allocations: 11.44 kB / 1.075 GB, free: 21.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.7107, allocations: 0.9954 MB / 1.076 GB, free: 21.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.7109, allocations: 187 kB / 1.076 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.711, allocations: 13.25 kB / 1.076 GB, free: 21.17 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.7115, allocations: 66.62 kB / 1.077 GB, free: 21.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.7116, allocations: 21.52 kB / 1.077 GB, free: 21.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.7117, allocations: 14.44 kB / 1.077 GB, free: 21.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000325/0.712, allocations: 345.2 kB / 1.077 GB, free: 21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.712, allocations: 0 / 1.077 GB, free: 21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009874/0.713, allocations: 339 kB / 1.077 GB, free: 20.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005706/0.7136, allocations: 316.9 kB / 1.078 GB, free: 20.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.7154, allocations: 0.9972 MB / 1.078 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7154, allocations: 0 / 1.078 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.716, allocations: 332.6 kB / 1.079 GB, free: 20.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.7172, allocations: 255.4 kB / 1.079 GB, free: 20.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.7192, allocations: 1.381 MB / 1.08 GB, free: 19.31 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.7194, allocations: 0.8828 MB / 1.081 GB, free: 18.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005453/0.72, allocations: 124.2 kB / 1.081 GB, free: 18.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.7201, allocations: 47.53 kB / 1.081 GB, free: 18.56 MB / 0.698 GB Notification: Performance of SimCode: time 5.92e-07/0.7201, allocations: 0 / 1.081 GB, free: 18.56 MB / 0.698 GB Notification: Performance of Templates: time 0.01624/0.7364, allocations: 10.99 MB / 1.092 GB, free: 17.62 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)