Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 391.2 MB / 407 MB, free: 10.74 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 191.4 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009783, allocations: 113.3 kB / 0.9329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 52.67 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2836, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.1766/0.4602, allocations: 196.6 MB / 1.41 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.4748, allocations: 10.44 MB / 1.42 GB, free: 5.457 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003301/0.4782, allocations: 51.69 kB / 1.42 GB, free: 5.406 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.4803, allocations: 485.1 kB / 1.421 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.005997/0.4864, allocations: 1.84 MB / 1.423 GB, free: 3.082 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.4898, allocations: 1.236 MB / 1.424 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.6613/1.151, allocations: 3.678 MB / 1.427 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/1.153, allocations: 1.022 MB / 1.428 GB, free: 3.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005292/1.159, allocations: 1.521 MB / 1.43 GB, free: 3.836 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/1.162, allocations: 0.9752 MB / 1.431 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0003401/1.162, allocations: 67.91 kB / 1.431 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005401/1.167, allocations: 2.396 MB / 1.433 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0006842/1.168, allocations: 377 kB / 1.434 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/1.17, allocations: 0.6555 MB / 1.434 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.005839/1.175, allocations: 2.534 MB / 1.437 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.175, allocations: 4.844 kB / 1.437 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.663e-06/1.175, allocations: 1.156 kB / 1.437 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.942e-05/1.176, allocations: 0 / 1.437 GB, free: 3.75 MB / 0.9167 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.004067/1.18, allocations: 1.815 MB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.18, allocations: 12.86 kB / 1.438 GB, free: 18.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/1.182, allocations: 370.1 kB / 1.439 GB, free: 18.71 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.184, allocations: 0.9183 MB / 1.44 GB, free: 18.35 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.184, allocations: 74.94 kB / 1.44 GB, free: 18.35 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/1.184, allocations: 105.8 kB / 1.44 GB, free: 18.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/1.186, allocations: 1.109 MB / 1.441 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.186, allocations: 9.062 kB / 1.441 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/1.186, allocations: 43.67 kB / 1.441 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/1.186, allocations: 42.16 kB / 1.441 GB, free: 18.14 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/1.188, allocations: 0.8008 MB / 1.442 GB, free: 18.13 MB / 0.9323 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.006384/1.194, allocations: 5.078 MB / 1.447 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.196, allocations: 0.6956 MB / 1.447 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.196, allocations: 364.1 kB / 1.448 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000623/1.197, allocations: 310.5 kB / 1.448 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.197, allocations: 39.16 kB / 1.448 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.197, allocations: 0 / 1.448 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=70): time 0.002119/1.199, allocations: 0.9446 MB / 1.449 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.199, allocations: 61.69 kB / 1.449 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009706/1.2, allocations: 0.8831 MB / 1.45 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/1.2, allocations: 39.14 kB / 1.45 GB, free: 14.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/1.201, allocations: 0.5643 MB / 1.451 GB, free: 14.28 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/1.201, allocations: 246 kB / 1.451 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.201, allocations: 136.9 kB / 1.451 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.201, allocations: 337.1 kB / 1.451 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/1.202, allocations: 259.5 kB / 1.452 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/1.202, allocations: 457.8 kB / 1.452 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/1.203, allocations: 0.7026 MB / 1.453 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.203, allocations: 6.312 kB / 1.453 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001479/1.205, allocations: 0.8342 MB / 1.453 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/1.205, allocations: 6.25 kB / 1.453 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.205, allocations: 8.719 kB / 1.454 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/1.205, allocations: 7.594 kB / 1.454 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/1.206, allocations: 264.1 kB / 1.454 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/1.208, allocations: 1.396 MB / 1.455 GB, free: 11.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/1.209, allocations: 128.8 kB / 1.455 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/1.209, allocations: 33.97 kB / 1.455 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009849/1.21, allocations: 479.1 kB / 1.456 GB, free: 11.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006547/1.211, allocations: 448.1 kB / 1.456 GB, free: 11.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/1.212, allocations: 0.7061 MB / 1.457 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/1.212, allocations: 0 / 1.457 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001535/1.213, allocations: 0.8333 MB / 1.458 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.213, allocations: 5.062 kB / 1.458 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.214, allocations: 5.156 kB / 1.458 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.214, allocations: 12.09 kB / 1.458 GB, free: 11.31 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.215, allocations: 265.4 kB / 1.458 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/1.216, allocations: 1.395 MB / 1.459 GB, free: 9.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.218, allocations: 108.9 kB / 1.459 GB, free: 9.91 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.123e-05/1.218, allocations: 30.34 kB / 1.459 GB, free: 9.91 MB / 0.9323 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.0003593/1.218, allocations: 235.2 kB / 1.46 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/1.218, allocations: 116.1 kB / 1.46 GB, free: 9.664 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/1.221, allocations: 0.7864 MB / 1.461 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.221, allocations: 8.562 kB / 1.461 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.221, allocations: 4 kB / 1.461 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001336/1.222, allocations: 0.7108 MB / 1.461 GB, free: 9.398 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/1.226, allocations: 1.935 MB / 1.463 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.226, allocations: 5.641 kB / 1.463 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/1.227, allocations: 142.6 kB / 1.463 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004337/1.227, allocations: 41.58 kB / 1.463 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/1.227, allocations: 18.62 kB / 1.463 GB, free: 8.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/1.229, allocations: 1.359 MB / 1.465 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.229, allocations: 6.469 kB / 1.465 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/1.249, allocations: 7.821 MB / 1.472 GB, free: 6.066 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007267/1.25, allocations: 257.3 kB / 1.473 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/1.25, allocations: 15.81 kB / 1.473 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/1.251, allocations: 62.86 kB / 1.473 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.251, allocations: 47.66 kB / 1.473 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/1.251, allocations: 20.25 kB / 1.473 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001125/1.252, allocations: 0.6022 MB / 1.473 GB, free: 5.781 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.042e-06/1.252, allocations: 0 / 1.473 GB, free: 5.781 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004785/1.257, allocations: 0.8415 MB / 1.474 GB, free: 5.695 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,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.001056/1.258, allocations: 231.2 kB / 1.474 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004446/1.263, allocations: 1.21 MB / 1.476 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.263, allocations: 0 / 1.476 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008962/1.264, allocations: 448.9 kB / 1.476 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.267, allocations: 0.5047 MB / 1.476 GB, free: 5.402 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006032/1.273, allocations: 3.083 MB / 1.479 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.274, allocations: 1.166 MB / 1.481 GB, free: 3.031 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001681/1.276, allocations: 293.1 kB / 1.481 GB, free: 2.973 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/1.276, allocations: 95.69 kB / 1.481 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/1.276, allocations: 3.156 kB / 1.481 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of Templates: time 0.04127/1.317, allocations: 20.66 MB / 1.501 GB, free: 15.51 MB / 0.948 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)