Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002027/0.002027, allocations: 192.1 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 61.91 kB / 0.6708 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3099, allocations: 114.6 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.7418/1.052, allocations: 196.6 MB / 0.9746 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01706/1.069, allocations: 10.41 MB / 0.9848 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003471/1.072, allocations: 52.88 kB / 0.9849 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/1.075, allocations: 480.1 kB / 0.9853 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/1.082, allocations: 1.833 MB / 0.9871 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004547/1.086, allocations: 1.244 MB / 0.9883 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006305/1.093, allocations: 3.656 MB / 0.9919 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/1.095, allocations: 1.027 MB / 0.9929 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/1.1, allocations: 1.503 MB / 0.9944 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/1.103, allocations: 0.9697 MB / 0.9953 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002853/1.103, allocations: 67.44 kB / 0.9954 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005913/1.109, allocations: 2.394 MB / 0.9977 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006478/1.11, allocations: 378.4 kB / 0.9981 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/1.111, allocations: 0.659 MB / 0.9987 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005692/1.117, allocations: 2.526 MB / 1.001 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.117, allocations: 0 / 1.001 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/1.117, allocations: 0 / 1.001 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.794e-05/1.117, allocations: 0 / 1.001 GB, free: 1.953 MB / 0.7325 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.004043/1.121, allocations: 1.818 MB / 1.003 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.121, allocations: 8.625 kB / 1.003 GB, free: 16.79 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/1.123, allocations: 365.7 kB / 1.003 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/1.125, allocations: 0.9133 MB / 1.004 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/1.125, allocations: 83.12 kB / 1.004 GB, free: 16.14 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.125, allocations: 100.4 kB / 1.004 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/1.127, allocations: 1.106 MB / 1.005 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/1.127, allocations: 3.25 kB / 1.005 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.642e-05/1.127, allocations: 46.55 kB / 1.006 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/1.127, allocations: 41.42 kB / 1.006 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.129, allocations: 0.8023 MB / 1.006 GB, free: 15.27 MB / 0.7481 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.007314/1.136, allocations: 5.061 MB / 1.011 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/1.138, allocations: 0.7134 MB / 1.012 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/1.138, allocations: 350.6 kB / 1.012 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006575/1.139, allocations: 318.2 kB / 1.013 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/1.139, allocations: 44.25 kB / 1.013 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/1.139, allocations: 0 / 1.013 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.00208/1.141, allocations: 0.9357 MB / 1.014 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/1.141, allocations: 60.66 kB / 1.014 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/1.142, allocations: 0.8704 MB / 1.014 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/1.142, allocations: 46.45 kB / 1.015 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/1.143, allocations: 0.5584 MB / 1.015 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/1.143, allocations: 247.8 kB / 1.015 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/1.144, allocations: 139.5 kB / 1.015 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.144, allocations: 335.4 kB / 1.016 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/1.144, allocations: 265.8 kB / 1.016 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006121/1.145, allocations: 442.7 kB / 1.016 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/1.146, allocations: 0.7091 MB / 1.017 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.146, allocations: 6.656 kB / 1.017 GB, free: 7.137 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001569/1.148, allocations: 0.8257 MB / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.148, allocations: 7.688 kB / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/1.148, allocations: 8.188 kB / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.148, allocations: 8 kB / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.149, allocations: 263.4 kB / 1.018 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/1.151, allocations: 1.392 MB / 1.02 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/1.152, allocations: 111.9 kB / 1.02 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/1.152, allocations: 38.25 kB / 1.02 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009244/1.153, allocations: 474.8 kB / 1.02 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000644/1.154, allocations: 441.5 kB / 1.021 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001239/1.155, allocations: 0.7091 MB / 1.021 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.377e-06/1.155, allocations: 2.406 kB / 1.021 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001541/1.157, allocations: 0.8313 MB / 1.022 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.157, allocations: 6.781 kB / 1.022 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.157, allocations: 7.125 kB / 1.022 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/1.157, allocations: 11.34 kB / 1.022 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/1.158, allocations: 262.9 kB / 1.022 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/1.159, allocations: 1.407 MB / 1.024 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/1.16, allocations: 92.08 kB / 1.024 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/1.161, allocations: 35.8 kB / 1.024 GB, free: 2.117 MB / 0.7481 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.0003002/1.161, allocations: 231.1 kB / 1.024 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/1.161, allocations: 109.5 kB / 1.024 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/1.163, allocations: 0.7908 MB / 1.025 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/1.163, allocations: 9.375 kB / 1.025 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.163, allocations: 2.531 kB / 1.025 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001341/1.164, allocations: 0.6996 MB / 1.026 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003594/1.168, allocations: 1.937 MB / 1.028 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.168, allocations: 2.719 kB / 1.028 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/1.169, allocations: 142.9 kB / 1.028 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.169, allocations: 47.23 kB / 1.028 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/1.169, allocations: 23.92 kB / 1.028 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/1.171, allocations: 1.344 MB / 1.029 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.171, allocations: 7.297 kB / 1.029 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/1.173, allocations: 1.258 MB / 1.03 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004916/1.173, allocations: 256.3 kB / 1.031 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.173, allocations: 16.91 kB / 1.031 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/1.174, allocations: 57.2 kB / 1.031 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/1.174, allocations: 54 kB / 1.031 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/1.174, allocations: 29.61 kB / 1.031 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007734/1.175, allocations: 0.5886 MB / 1.031 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.175, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001466/1.177, allocations: 0.5338 MB / 1.032 GB, free: 12.71 MB / 0.7637 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.0005381/1.177, allocations: 213.7 kB / 1.032 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003653/1.181, allocations: 1.21 MB / 1.033 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.181, allocations: 0 / 1.033 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/1.182, allocations: 445.7 kB / 1.034 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.184, allocations: 0.5131 MB / 1.034 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/1.188, allocations: 2.651 MB / 1.037 GB, free: 9.703 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007344/1.189, allocations: 1.137 MB / 1.038 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001171/1.19, allocations: 265.9 kB / 1.038 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002234/1.19, allocations: 87.98 kB / 1.038 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of SimCode: time 1.763e-06/1.19, allocations: 0 / 1.038 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of Templates: time 0.03174/1.222, allocations: 17.01 MB / 1.055 GB, free: 8.957 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)