Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.708/1.708, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001005/0.001005, allocations: 178.8 kB / 393.1 MB, free: 4.074 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.407/1.407, 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.0008542/0.0008542, allocations: 91.3 kB / 0.7935 GB, free: 40.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005908/0.0005909, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7023, allocations: 121.3 MB / 1.041 GB, free: 58.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1952/0.8975, allocations: 190.6 MB / 1.227 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.9148, allocations: 13.92 MB / 1.241 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.9172, allocations: 47.69 kB / 1.241 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.9192, allocations: 477.1 kB / 1.241 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00633/0.9256, allocations: 1.83 MB / 1.243 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.9295, allocations: 1.236 MB / 1.244 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004467/0.934, allocations: 3.655 MB / 1.248 GB, free: 15.45 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.9358, allocations: 0.9929 MB / 1.249 GB, free: 14.42 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.9407, allocations: 1.48 MB / 1.25 GB, free: 12.94 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.9429, allocations: 0.9265 MB / 1.251 GB, free: 12.02 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003474/0.9432, allocations: 44 kB / 1.251 GB, free: 11.97 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004995/0.9482, allocations: 2.342 MB / 1.253 GB, free: 9.625 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.9488, allocations: 338.7 kB / 1.254 GB, free: 9.293 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.95, allocations: 0.6309 MB / 1.254 GB, free: 8.652 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.9545, allocations: 2.5 MB / 1.257 GB, free: 6.145 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9546, allocations: 7.938 kB / 1.257 GB, free: 6.137 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9546, allocations: 4 kB / 1.257 GB, free: 6.133 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.138e-05/0.9546, allocations: 0 / 1.257 GB, free: 6.133 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003147/0.9578, allocations: 1.557 MB / 1.258 GB, free: 4.523 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9578, allocations: 8.031 kB / 1.258 GB, free: 4.516 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/0.9602, allocations: 373.8 kB / 1.259 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.962, allocations: 0.909 MB / 1.259 GB, free: 3.195 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/0.9621, allocations: 82 kB / 1.26 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.9623, allocations: 100 kB / 1.26 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.9643, allocations: 1.107 MB / 1.261 GB, free: 1.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.9644, allocations: 0 / 1.261 GB, free: 1.852 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.9645, allocations: 44 kB / 1.261 GB, free: 1.809 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.9645, allocations: 34 kB / 1.261 GB, free: 1.773 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.9662, allocations: 0.7962 MB / 1.262 GB, free: 0.9805 MB / 0.823 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.006803/0.973, allocations: 5.082 MB / 1.267 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.9743, allocations: 0.6993 MB / 1.267 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.975, allocations: 354.2 kB / 1.268 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.9757, allocations: 331.9 kB / 1.268 GB, free: 10.11 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.9757, allocations: 43.12 kB / 1.268 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/0.9757, allocations: 0 / 1.268 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.002072/0.9778, allocations: 0.931 MB / 1.269 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9779, allocations: 59.97 kB / 1.269 GB, free: 9.051 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.9791, allocations: 0.8604 MB / 1.27 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.9792, allocations: 41.7 kB / 1.27 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.9796, allocations: 0.5584 MB / 1.27 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.9799, allocations: 248.4 kB / 1.271 GB, free: 7.312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.9799, allocations: 15.94 kB / 1.271 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9801, allocations: 337.9 kB / 1.271 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.9806, allocations: 245.9 kB / 1.271 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.9812, allocations: 439.1 kB / 1.272 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.9823, allocations: 0.7092 MB / 1.272 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.9823, allocations: 4 kB / 1.272 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001503/0.9838, allocations: 0.8276 MB / 1.273 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.984, allocations: 229.6 kB / 1.273 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.984, allocations: 4 kB / 1.273 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.984, allocations: 8 kB / 1.273 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.9856, allocations: 247.7 kB / 1.273 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.9871, allocations: 1.405 MB / 1.275 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.9882, allocations: 115.1 kB / 1.275 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/0.9883, allocations: 35.94 kB / 1.275 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.9883, allocations: 4 kB / 1.275 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001293/0.9896, allocations: 0.7061 MB / 1.276 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9896, allocations: 4 kB / 1.276 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.9896, allocations: 8 kB / 1.276 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/0.9911, allocations: 252.2 kB / 1.276 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00149/0.9926, allocations: 1.397 MB / 1.277 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.9937, allocations: 107.2 kB / 1.277 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.132e-05/0.9937, allocations: 32 kB / 1.277 GB, free: 15.73 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006836/0.9944, allocations: 368.5 kB / 1.278 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.9948, allocations: 106.8 kB / 1.278 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.9972, allocations: 0.7977 MB / 1.279 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.9972, allocations: 16.08 kB / 1.279 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.9972, allocations: 0 / 1.279 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001428/0.9987, allocations: 0.7001 MB / 1.279 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/1.003, allocations: 1.926 MB / 1.281 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.003, allocations: 4 kB / 1.281 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/1.004, allocations: 143.8 kB / 1.281 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/1.004, allocations: 40.83 kB / 1.281 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/1.004, allocations: 24.02 kB / 1.281 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/1.006, allocations: 1.344 MB / 1.283 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/1.006, allocations: 7.969 kB / 1.283 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/1.008, allocations: 1.25 MB / 1.284 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/1.008, allocations: 255.5 kB / 1.284 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/1.009, allocations: 16 kB / 1.284 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/1.009, allocations: 61.3 kB / 1.284 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.01, allocations: 52.44 kB / 1.284 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/1.01, allocations: 23.98 kB / 1.284 GB, free: 8.277 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009146/1.011, allocations: 0.5809 MB / 1.285 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 1.285 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001604/1.012, allocations: 0.5374 MB / 1.285 GB, free: 7.148 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005259/1.013, allocations: 218.9 kB / 1.286 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.017, allocations: 1.178 MB / 1.287 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.017, allocations: 4 kB / 1.287 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.018, allocations: 446.2 kB / 1.287 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/1.021, allocations: 0.5123 MB / 1.288 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/1.025, allocations: 2.728 MB / 1.29 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/1.026, allocations: 1.144 MB / 1.292 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001199/1.027, allocations: 273 kB / 1.292 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.027, allocations: 83.36 kB / 1.292 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/1.027, allocations: 0 / 1.292 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of Templates: time 0.03075/1.058, allocations: 16.92 MB / 1.308 GB, free: 15.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)