Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.718/1.718, allocations: 306.1 MB / 321.4 MB, free: 10.76 MB / 250.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.001067/0.001067, allocations: 171.5 kB / 393.1 MB, free: 4.105 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.453/1.453, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008722, allocations: 101.1 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006054/0.0006052, allocations: 9.031 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.8776, allocations: 121.3 MB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.02059/0.8982, allocations: 14.74 MB / 1.055 GB, free: 47.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008674/0.907, allocations: 5.491 MB / 1.061 GB, free: 42.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.9079, allocations: 17.78 kB / 1.061 GB, free: 42.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.9088, allocations: 147.5 kB / 1.061 GB, free: 42.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.9116, allocations: 0.6289 MB / 1.061 GB, free: 42.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.9136, allocations: 420.7 kB / 1.062 GB, free: 41.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.9162, allocations: 1.366 MB / 1.063 GB, free: 41.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005623/0.9168, allocations: 244 kB / 1.063 GB, free: 41.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.9179, allocations: 376.6 kB / 1.064 GB, free: 41.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.9186, allocations: 260.9 kB / 1.064 GB, free: 41.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.9188, allocations: 11.16 kB / 1.064 GB, free: 41.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.9211, allocations: 0.6764 MB / 1.065 GB, free: 40.89 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.9213, allocations: 60.22 kB / 1.065 GB, free: 40.86 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.9218, allocations: 202.8 kB / 1.065 GB, free: 40.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.9238, allocations: 0.7008 MB / 1.066 GB, free: 40.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9238, allocations: 0 / 1.066 GB, free: 40.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9239, allocations: 0 / 1.066 GB, free: 40.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.976e-05/0.9239, allocations: 3.938 kB / 1.066 GB, free: 40.5 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001849/0.9257, allocations: 0.6866 MB / 1.066 GB, free: 39.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.9258, allocations: 8.812 kB / 1.066 GB, free: 39.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.926, allocations: 42.12 kB / 1.066 GB, free: 39.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.9275, allocations: 0.4915 MB / 1.067 GB, free: 39.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.9275, allocations: 12.67 kB / 1.067 GB, free: 39.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.9276, allocations: 19.66 kB / 1.067 GB, free: 39.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000555/0.9281, allocations: 184.5 kB / 1.067 GB, free: 39.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.9282, allocations: 0 / 1.067 GB, free: 39.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.9282, allocations: 5.547 kB / 1.067 GB, free: 39.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.9282, allocations: 3.562 kB / 1.067 GB, free: 39.46 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.9287, allocations: 149.5 kB / 1.067 GB, free: 39.42 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.001425/0.9301, allocations: 0.8707 MB / 1.068 GB, free: 38.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.9305, allocations: 121.3 kB / 1.068 GB, free: 38.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.9308, allocations: 81.73 kB / 1.068 GB, free: 38.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004265/0.9312, allocations: 336.1 kB / 1.068 GB, free: 38.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9313, allocations: 37.72 kB / 1.069 GB, free: 38.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.9313, allocations: 0 / 1.069 GB, free: 38.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0008182/0.9321, allocations: 235.5 kB / 1.069 GB, free: 38.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.9322, allocations: 51.41 kB / 1.069 GB, free: 38.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.9327, allocations: 342.8 kB / 1.069 GB, free: 37.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.9327, allocations: 29.7 kB / 1.069 GB, free: 37.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.9329, allocations: 196.3 kB / 1.069 GB, free: 37.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.933, allocations: 45.42 kB / 1.069 GB, free: 37.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.933, allocations: 4 kB / 1.069 GB, free: 37.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.9331, allocations: 344.7 kB / 1.07 GB, free: 37.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.9333, allocations: 46.89 kB / 1.07 GB, free: 37.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.9336, allocations: 105.8 kB / 1.07 GB, free: 37.26 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.9339, allocations: 122.8 kB / 1.07 GB, free: 37.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.9339, allocations: 0 / 1.07 GB, free: 37.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005226/0.9345, allocations: 192 kB / 1.07 GB, free: 37.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/0.9346, allocations: 101.2 kB / 1.07 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9346, allocations: 7.406 kB / 1.07 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.9346, allocations: 0 / 1.07 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.9348, allocations: 31.92 kB / 1.07 GB, free: 37.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9349, allocations: 3.984 kB / 1.07 GB, free: 37.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.9352, allocations: 31.84 kB / 1.07 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.9353, allocations: 3.188 kB / 1.07 GB, free: 37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-06/0.9353, allocations: 7.344 kB / 1.07 GB, free: 37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004057/0.9357, allocations: 122.4 kB / 1.07 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.9357, allocations: 0 / 1.07 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.9357, allocations: 0 / 1.07 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.9359, allocations: 33.66 kB / 1.07 GB, free: 36.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.9359, allocations: 7.938 kB / 1.071 GB, free: 36.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.9362, allocations: 34.02 kB / 1.071 GB, free: 36.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.9362, allocations: 3.438 kB / 1.071 GB, free: 36.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.9364, allocations: 221.2 kB / 1.071 GB, free: 36.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.9365, allocations: 43.27 kB / 1.071 GB, free: 36.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006288/0.9371, allocations: 231.3 kB / 1.071 GB, free: 36.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9371, allocations: 11.09 kB / 1.071 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9372, allocations: 1.172 kB / 1.071 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.9372, allocations: 4 kB / 1.071 GB, free: 36.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.9383, allocations: 0.6389 MB / 1.072 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.9383, allocations: 6.625 kB / 1.072 GB, free: 36.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.9384, allocations: 32.17 kB / 1.072 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.9384, allocations: 0 / 1.072 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.9385, allocations: 3.375 kB / 1.072 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.9385, allocations: 0 / 1.072 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.9385, allocations: 3.062 kB / 1.072 GB, free: 36.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/0.939, allocations: 332.2 kB / 1.072 GB, free: 35.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.9391, allocations: 132.1 kB / 1.072 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.9392, allocations: 7.406 kB / 1.072 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.9395, allocations: 24.06 kB / 1.072 GB, free: 35.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.9396, allocations: 12.72 kB / 1.072 GB, free: 35.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.9396, allocations: 7.688 kB / 1.072 GB, free: 35.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002883/0.9399, allocations: 245.1 kB / 1.072 GB, free: 35.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9399, allocations: 0 / 1.072 GB, free: 35.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008963/0.9408, allocations: 194.2 kB / 1.073 GB, free: 35.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00089/0.9417, allocations: 258.6 kB / 1.073 GB, free: 35.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007004/0.9425, allocations: 204 kB / 1.073 GB, free: 35.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9425, allocations: 0 / 1.073 GB, free: 35.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.9427, allocations: 85.52 kB / 1.073 GB, free: 35.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.9439, allocations: 141 kB / 1.073 GB, free: 35.37 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.9453, allocations: 0.6921 MB / 1.074 GB, free: 34.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.9457, allocations: 0.7931 MB / 1.075 GB, free: 34.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.9461, allocations: 77.06 kB / 1.075 GB, free: 34.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.9462, allocations: 28.62 kB / 1.075 GB, free: 34.18 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.9462, allocations: 0 / 1.075 GB, free: 34.18 MB / 0.698 GB Notification: Performance of Templates: time 0.01937/0.9656, allocations: 6.286 MB / 1.081 GB, free: 33.67 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)