Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.792/1.792, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001113/0.001113, allocations: 179.4 kB / 393.1 MB, free: 4.039 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.642/1.642, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008892/0.0008891, allocations: 96.66 kB / 0.7935 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 8 kB / 0.9224 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6948, allocations: 121.3 MB / 1.041 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1684/0.8632, allocations: 150.4 MB / 1.188 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.8667, allocations: 2.503 MB / 1.19 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.867, allocations: 7.938 kB / 1.19 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.8676, allocations: 131.4 kB / 1.19 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.869, allocations: 484.8 kB / 1.191 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.8701, allocations: 384.9 kB / 1.191 GB, free: 7.457 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.8712, allocations: 0.7618 MB / 1.192 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.8715, allocations: 149.4 kB / 1.192 GB, free: 6.723 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.8722, allocations: 296.4 kB / 1.192 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.8724, allocations: 158.9 kB / 1.192 GB, free: 6.348 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.8725, allocations: 8 kB / 1.192 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.8739, allocations: 0.7555 MB / 1.193 GB, free: 5.766 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.8741, allocations: 76.94 kB / 1.193 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.8742, allocations: 138.7 kB / 1.193 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008428/0.8751, allocations: 0.5108 MB / 1.194 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8751, allocations: 4 kB / 1.194 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8751, allocations: 0 / 1.194 GB, free: 5.203 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.8751, allocations: 0 / 1.194 GB, free: 5.203 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008529/0.876, allocations: 0.5381 MB / 1.194 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.876, allocations: 12.03 kB / 1.194 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.8764, allocations: 61.73 kB / 1.195 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.8768, allocations: 287.5 kB / 1.195 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.8768, allocations: 12 kB / 1.195 GB, free: 4.277 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.8768, allocations: 20.59 kB / 1.195 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.8772, allocations: 191.2 kB / 1.195 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8773, allocations: 0 / 1.195 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.8773, allocations: 12 kB / 1.195 GB, free: 4.078 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.8773, allocations: 4 kB / 1.195 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.8776, allocations: 137.3 kB / 1.195 GB, free: 3.965 MB / 0.7605 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.001115/0.8788, allocations: 0.7945 MB / 1.196 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.879, allocations: 90.56 kB / 1.196 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.8792, allocations: 77.86 kB / 1.196 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.8796, allocations: 193.7 kB / 1.196 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.8796, allocations: 34.56 kB / 1.196 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.8796, allocations: 0 / 1.196 GB, free: 2.777 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.0006933/0.8803, allocations: 238.3 kB / 1.197 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.8804, allocations: 51.92 kB / 1.197 GB, free: 2.508 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.8807, allocations: 271.1 kB / 1.197 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.8807, allocations: 30.2 kB / 1.197 GB, free: 2.234 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.8808, allocations: 155.7 kB / 1.197 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.8809, allocations: 29.91 kB / 1.197 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/0.8809, allocations: 0 / 1.197 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.881, allocations: 342 kB / 1.197 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.8812, allocations: 41.28 kB / 1.197 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.8814, allocations: 101.8 kB / 1.198 GB, free: 1.586 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.8817, allocations: 130.7 kB / 1.198 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8817, allocations: 0 / 1.198 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003622/0.882, allocations: 168.2 kB / 1.198 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.8821, allocations: 116.2 kB / 1.198 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8821, allocations: 0.7656 kB / 1.198 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.8821, allocations: 8.141 kB / 1.198 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.8823, allocations: 27.83 kB / 1.198 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.8823, allocations: 0.6562 kB / 1.198 GB, free: 1.156 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.8825, allocations: 32.94 kB / 1.198 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.8825, allocations: 4.656 kB / 1.198 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/0.8825, allocations: 4 kB / 1.198 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002811/0.8828, allocations: 117.7 kB / 1.198 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.8828, allocations: 4 kB / 1.198 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-06/0.8828, allocations: 0 / 1.198 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.883, allocations: 28.16 kB / 1.198 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.883, allocations: 0.75 kB / 1.198 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.8831, allocations: 28.62 kB / 1.198 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.8832, allocations: 9.172 kB / 1.198 GB, free: 0.9688 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001595/0.8833, allocations: 213.7 kB / 1.198 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.8834, allocations: 23.72 kB / 1.198 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.8838, allocations: 179.3 kB / 1.199 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8838, allocations: 0 / 1.199 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8838, allocations: 3.938 kB / 1.199 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8838, allocations: 0.7969 kB / 1.199 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.8848, allocations: 0.5995 MB / 1.199 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8848, allocations: 4 kB / 1.199 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.8849, allocations: 28.67 kB / 1.199 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.8849, allocations: 0 / 1.199 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.885, allocations: 12.55 kB / 1.199 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.885, allocations: 4.562 kB / 1.199 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.885, allocations: 3.938 kB / 1.199 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.8854, allocations: 303.4 kB / 1.2 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.8855, allocations: 110.6 kB / 1.2 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.8856, allocations: 8.656 kB / 1.2 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.8857, allocations: 20.73 kB / 1.2 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.8858, allocations: 15.03 kB / 1.2 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.8858, allocations: 4 kB / 1.2 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000216/0.886, allocations: 200.2 kB / 1.2 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8861, allocations: 0 / 1.2 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004503/0.8865, allocations: 92.97 kB / 1.2 GB, free: 15.18 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0004744/0.887, allocations: 183.7 kB / 1.2 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.8875, allocations: 171.1 kB / 1.2 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8875, allocations: 4 kB / 1.2 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.8877, allocations: 66.89 kB / 1.2 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008968/0.8886, allocations: 137.3 kB / 1.2 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007683/0.8894, allocations: 0.5027 MB / 1.201 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.8897, allocations: 0.7582 MB / 1.202 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002546/0.89, allocations: 75.66 kB / 1.202 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.8901, allocations: 23.44 kB / 1.202 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of SimCode: time 2.2e-07/0.8901, allocations: 0 / 1.202 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.01143/0.9015, allocations: 4.255 MB / 1.206 GB, free: 11 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)