Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.97/1.97, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.00112/0.00112, allocations: 187.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.699/1.699, 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.0007975/0.0007973, allocations: 92.81 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12 kB / 0.9224 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6544, allocations: 121.3 MB / 1.041 GB, free: 57.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.09662/0.7511, allocations: 115 MB / 1.153 GB, free: 4.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.04702/0.7982, allocations: 35.75 MB / 1.188 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008166/0.8064, allocations: 91.47 kB / 1.188 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.8116, allocations: 0.9141 MB / 1.189 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01566/0.8273, allocations: 3.152 MB / 1.192 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.009392/0.8367, allocations: 2.076 MB / 1.194 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01493/0.8517, allocations: 8.124 MB / 1.202 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004715/0.8564, allocations: 1.547 MB / 1.204 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0078/0.8643, allocations: 2.326 MB / 1.206 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/0.8693, allocations: 1.702 MB / 1.208 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/0.8704, allocations: 95.94 kB / 1.208 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008436/0.8789, allocations: 2.018 MB / 1.21 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.8804, allocations: 401.2 kB / 1.21 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.005329/0.8858, allocations: 1.156 MB / 1.211 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01303/0.8989, allocations: 3.919 MB / 1.215 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.8989, allocations: 4 kB / 1.215 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.285e-06/0.8989, allocations: 0 / 1.215 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001606/0.8991, allocations: 0 / 1.215 GB, free: 15.45 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007134/0.9062, allocations: 2.421 MB / 1.217 GB, free: 12.97 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9063, allocations: 8.031 kB / 1.217 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.9074, allocations: 261.1 kB / 1.218 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005451/0.9129, allocations: 2.083 MB / 1.22 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.913, allocations: 102.7 kB / 1.22 GB, free: 10.47 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003962/0.9134, allocations: 132 kB / 1.22 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.9167, allocations: 1.446 MB / 1.221 GB, free: 8.812 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.164e-05/0.9168, allocations: 7.938 kB / 1.221 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.917, allocations: 60 kB / 1.221 GB, free: 8.746 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.917, allocations: 36 kB / 1.221 GB, free: 8.711 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002293/0.9193, allocations: 1.025 MB / 1.222 GB, free: 7.68 MB / 0.7917 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.01111/0.9304, allocations: 8.135 MB / 1.23 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.9323, allocations: 0.8338 MB / 1.231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.933, allocations: 381.2 kB / 1.231 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002829/0.9359, allocations: 2.803 MB / 1.234 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/0.936, allocations: 47.92 kB / 1.234 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=85): time 4.699e-06/0.936, allocations: 0 / 1.234 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=85): time 0.002817/0.9388, allocations: 1.136 MB / 1.235 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.9389, allocations: 64 kB / 1.235 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.9421, allocations: 1.578 MB / 1.237 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.9423, allocations: 45.7 kB / 1.237 GB, free: 7.234 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/0.9432, allocations: 0.9236 MB / 1.238 GB, free: 6.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003822/0.9436, allocations: 311.5 kB / 1.238 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.9437, allocations: 24 kB / 1.238 GB, free: 5.969 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9438, allocations: 341.9 kB / 1.239 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.9445, allocations: 322.4 kB / 1.239 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/0.9455, allocations: 0.711 MB / 1.24 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.9472, allocations: 1.089 MB / 1.241 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.9472, allocations: 4 kB / 1.241 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002675/0.9499, allocations: 1.245 MB / 1.242 GB, free: 1.926 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/0.9503, allocations: 449 kB / 1.242 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/0.9503, allocations: 16 kB / 1.242 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.175e-05/0.9504, allocations: 16 kB / 1.242 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/0.9513, allocations: 259.6 kB / 1.243 GB, free: 1.043 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.843e-05/0.9513, allocations: 31.92 kB / 1.243 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.953, allocations: 186.6 kB / 1.243 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.9532, allocations: 63.98 kB / 1.243 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.9532, allocations: 4 kB / 1.243 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/0.9552, allocations: 1.05 MB / 1.244 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.684e-05/0.9553, allocations: 20.77 kB / 1.244 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9553, allocations: 16 kB / 1.244 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.9561, allocations: 267.5 kB / 1.244 GB, free: 15.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.074e-05/0.9562, allocations: 23.94 kB / 1.244 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.9577, allocations: 166.9 kB / 1.244 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.9579, allocations: 59.98 kB / 1.244 GB, free: 15.16 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001056/0.959, allocations: 476.6 kB / 1.245 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005786/0.9596, allocations: 189.7 kB / 1.245 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.9631, allocations: 1.745 MB / 1.247 GB, free: 12.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.944e-05/0.9632, allocations: 15.98 kB / 1.247 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.9632, allocations: 4 kB / 1.247 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001738/0.9649, allocations: 1.154 MB / 1.248 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006751/0.9717, allocations: 3.466 MB / 1.251 GB, free: 7.918 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.9718, allocations: 12 kB / 1.251 GB, free: 7.906 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.9725, allocations: 208.5 kB / 1.251 GB, free: 7.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.998e-05/0.9726, allocations: 15.94 kB / 1.251 GB, free: 7.688 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.965e-05/0.9727, allocations: 39.98 kB / 1.252 GB, free: 7.648 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.885e-05/0.9727, allocations: 19.92 kB / 1.252 GB, free: 7.629 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.9727, allocations: 8 kB / 1.252 GB, free: 7.621 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.9764, allocations: 2.23 MB / 1.254 GB, free: 5.289 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/0.9777, allocations: 477.9 kB / 1.254 GB, free: 4.801 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/0.9782, allocations: 32 kB / 1.254 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.9796, allocations: 99.81 kB / 1.254 GB, free: 4.672 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.9799, allocations: 120.7 kB / 1.254 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.98, allocations: 59.97 kB / 1.254 GB, free: 4.492 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002518/0.9825, allocations: 1.055 MB / 1.256 GB, free: 3.414 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9825, allocations: 0 / 1.256 GB, free: 3.414 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004576/0.9871, allocations: 1.131 MB / 1.257 GB, free: 2.281 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.002285/0.9894, allocations: 0.7921 MB / 1.257 GB, free: 1.492 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003645/0.9931, allocations: 1.799 MB / 1.259 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.9931, allocations: 1.875 kB / 1.259 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.9947, allocations: 0.8295 MB / 1.26 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007139/1.002, allocations: 0.9386 MB / 1.261 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007613/1.01, allocations: 4.439 MB / 1.265 GB, free: 9.305 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/1.011, allocations: 1.436 MB / 1.267 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002685/1.014, allocations: 0.5349 MB / 1.267 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/1.014, allocations: 195.3 kB / 1.267 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.014, allocations: 0 / 1.267 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of Templates: time 0.07784/1.092, allocations: 41.44 MB / 1.308 GB, free: 14.15 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)