Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001362/0.001361, allocations: 202.1 kB / 329.5 MB, free: 1.137 MB / 250.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 2.554/2.554, allocations: 225.6 MB / 0.6001 GB, free: 2.16 MB / 426.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.001037/0.001036, allocations: 100.6 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004766, allocations: 10.84 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 109.1 MB / 0.9308 GB, free: 25.13 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.8522/1.058, allocations: 146.8 MB / 1.074 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.004052/1.062, allocations: 1.706 MB / 1.076 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/1.062, allocations: 11.91 kB / 1.076 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006078/1.063, allocations: 112.6 kB / 1.076 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/1.064, allocations: 382.5 kB / 1.076 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/1.066, allocations: 340 kB / 1.077 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004696/1.071, allocations: 3.01 MB / 1.08 GB, free: 84 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/1.073, allocations: 0.7168 MB / 1.08 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/1.075, allocations: 0.8573 MB / 1.081 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/1.077, allocations: 0.7071 MB / 1.082 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002255/1.077, allocations: 33.34 kB / 1.082 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/1.08, allocations: 0.5584 MB / 1.082 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005656/1.08, allocations: 278 kB / 1.083 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005793/1.081, allocations: 235 kB / 1.083 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/1.083, allocations: 1.023 MB / 1.084 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.083, allocations: 0 / 1.084 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.775e-06/1.083, allocations: 0 / 1.084 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.969e-05/1.083, allocations: 3.562 kB / 1.084 GB, free: 15.34 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003561/1.087, allocations: 1.304 MB / 1.085 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.087, allocations: 6.594 kB / 1.085 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/1.088, allocations: 188.8 kB / 1.085 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/1.09, allocations: 0.8021 MB / 1.086 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/1.09, allocations: 42.38 kB / 1.086 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.09, allocations: 61.44 kB / 1.086 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.092, allocations: 0.7979 MB / 1.087 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/1.092, allocations: 3.938 kB / 1.087 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/1.092, allocations: 21.19 kB / 1.087 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/1.092, allocations: 14.88 kB / 1.087 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/1.094, allocations: 0.543 MB / 1.088 GB, free: 13.66 MB / 0.6667 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.007189/1.101, allocations: 4.612 MB / 1.092 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.103, allocations: 430.1 kB / 1.092 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/1.103, allocations: 251.6 kB / 1.093 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/1.104, allocations: 198 kB / 1.093 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008471/1.105, allocations: 293.8 kB / 1.093 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 4.288e-06/1.105, allocations: 0 / 1.093 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.00247/1.107, allocations: 0.6478 MB / 1.094 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/1.107, allocations: 84.23 kB / 1.094 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002526/1.11, allocations: 1.112 MB / 1.095 GB, free: 8.602 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.11, allocations: 35.52 kB / 1.095 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/1.111, allocations: 490.8 kB / 1.095 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/1.111, allocations: 111.2 kB / 1.096 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/1.111, allocations: 8.625 kB / 1.096 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.111, allocations: 327.9 kB / 1.096 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006476/1.112, allocations: 184.2 kB / 1.096 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/1.113, allocations: 0.504 MB / 1.097 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008617/1.114, allocations: 302.8 kB / 1.097 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/1.114, allocations: 1.312 kB / 1.097 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002169/1.116, allocations: 0.679 MB / 1.098 GB, free: 7.152 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002542/1.116, allocations: 267.1 kB / 1.098 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/1.116, allocations: 9.5 kB / 1.098 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/1.116, allocations: 13.41 kB / 1.098 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003797/1.12, allocations: 381.7 kB / 1.098 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005222/1.125, allocations: 6.1 MB / 1.104 GB, free: 0.6914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/1.127, allocations: 107.3 kB / 1.104 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/1.127, allocations: 22.62 kB / 1.104 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.127, allocations: 3.406 kB / 1.104 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001552/1.129, allocations: 0.5371 MB / 1.105 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.129, allocations: 4.688 kB / 1.105 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/1.129, allocations: 12.25 kB / 1.105 GB, free: 500 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.13, allocations: 156.6 kB / 1.105 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/1.13, allocations: 20.23 kB / 1.105 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.131, allocations: 102.1 kB / 1.105 GB, free: 400 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/1.131, allocations: 25.02 kB / 1.105 GB, free: 396 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000964/1.132, allocations: 471.2 kB / 1.106 GB, free: 120 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/1.133, allocations: 98.19 kB / 1.106 GB, free: 68 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.134, allocations: 0.4989 MB / 1.106 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.134, allocations: 5.766 kB / 1.106 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.134, allocations: 0 / 1.106 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.134, allocations: 5.078 kB / 1.106 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/1.138, allocations: 1.401 MB / 1.107 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.138, allocations: 1.594 kB / 1.107 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/1.14, allocations: 152.4 kB / 1.108 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/1.14, allocations: 3.312 kB / 1.108 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/1.14, allocations: 14.41 kB / 1.108 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004364/1.144, allocations: 6.025 MB / 1.114 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/1.144, allocations: 2.969 kB / 1.114 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.147, allocations: 0.6129 MB / 1.114 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.148, allocations: 214.9 kB / 1.114 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/1.148, allocations: 13.14 kB / 1.114 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/1.15, allocations: 51.77 kB / 1.114 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/1.15, allocations: 32.48 kB / 1.114 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/1.15, allocations: 12.53 kB / 1.114 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00293/1.153, allocations: 0.7943 MB / 1.115 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.463e-06/1.153, allocations: 1.859 kB / 1.115 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003111/1.157, allocations: 408.2 kB / 1.116 GB, free: 8.371 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008182/1.157, allocations: 189.6 kB / 1.116 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008569/1.166, allocations: 1.106 MB / 1.117 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.166, allocations: 1.969 kB / 1.117 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/1.169, allocations: 310.4 kB / 1.117 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006519/1.175, allocations: 452.5 kB / 1.118 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007474/1.183, allocations: 2.023 MB / 1.12 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/1.184, allocations: 1.182 MB / 1.121 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002768/1.187, allocations: 371.8 kB / 1.121 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003325/1.187, allocations: 61.72 kB / 1.121 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.974e-06/1.187, allocations: 4 kB / 1.121 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of Templates: time 0.06302/1.25, allocations: 16.78 MB / 1.138 GB, free: 10.83 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)