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.001158/0.001158, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 188 kB / 16.62 MB, free: 6.582 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.616/1.616, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.797/1.797, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001612/0.001613, allocations: 66.42 kB / 0.6722 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2606, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.8643/1.125, allocations: 198.9 MB / 0.9783 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0185/1.144, allocations: 10.33 MB / 0.9884 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/1.147, allocations: 56.38 kB / 0.9884 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/1.15, allocations: 0.568 MB / 0.989 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.009109/1.159, allocations: 1.972 MB / 0.9909 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005868/1.165, allocations: 1.384 MB / 0.9923 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.007226/1.172, allocations: 2.803 MB / 0.995 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/1.175, allocations: 1.174 MB / 0.9962 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005924/1.181, allocations: 1.663 MB / 0.9978 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/1.183, allocations: 0.9586 MB / 0.9987 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003803/1.184, allocations: 117.9 kB / 0.9988 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006548/1.19, allocations: 2.148 MB / 1.001 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/1.191, allocations: 436.2 kB / 1.001 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/1.192, allocations: 0.7097 MB / 1.002 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008176/1.201, allocations: 2.511 MB / 1.004 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.201, allocations: 0 / 1.004 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.815e-06/1.201, allocations: 0 / 1.004 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.23e-05/1.201, allocations: 0 / 1.004 GB, free: 3.621 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.003818/1.204, allocations: 1.821 MB / 1.006 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.205, allocations: 7.844 kB / 1.006 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/1.207, allocations: 368.1 kB / 1.007 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/1.209, allocations: 0.9686 MB / 1.008 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/1.209, allocations: 78.12 kB / 1.008 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/1.209, allocations: 104.4 kB / 1.008 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/1.211, allocations: 1.104 MB / 1.009 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/1.212, allocations: 3.938 kB / 1.009 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.685e-05/1.212, allocations: 44.62 kB / 1.009 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/1.212, allocations: 38.78 kB / 1.009 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/1.213, allocations: 0.805 MB / 1.01 GB, free: 168 kB / 0.7325 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.007168/1.22, allocations: 5.051 MB / 1.015 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.222, allocations: 0.7216 MB / 1.015 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/1.222, allocations: 354.1 kB / 1.016 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.223, allocations: 316.8 kB / 1.016 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/1.223, allocations: 39.72 kB / 1.016 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/1.223, allocations: 0 / 1.016 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.002147/1.225, allocations: 0.9368 MB / 1.017 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/1.225, allocations: 59.41 kB / 1.017 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/1.227, allocations: 0.8775 MB / 1.018 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.45e-05/1.227, allocations: 36.45 kB / 1.018 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/1.227, allocations: 0.5567 MB / 1.018 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/1.228, allocations: 252.2 kB / 1.019 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/1.228, allocations: 140.6 kB / 1.019 GB, free: 9.012 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.228, allocations: 337.6 kB / 1.019 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/1.229, allocations: 258.2 kB / 1.019 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/1.229, allocations: 449.4 kB / 1.02 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.231, allocations: 0.6995 MB / 1.02 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/1.231, allocations: 6.969 kB / 1.02 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001549/1.232, allocations: 0.8309 MB / 1.021 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/1.232, allocations: 11.41 kB / 1.021 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.232, allocations: 6.406 kB / 1.021 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.232, allocations: 11.5 kB / 1.021 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.234, allocations: 263.4 kB / 1.022 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/1.236, allocations: 1.495 MB / 1.023 GB, free: 5.684 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009758/1.237, allocations: 82.17 kB / 1.023 GB, free: 5.625 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/1.237, allocations: 32.8 kB / 1.023 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009891/1.238, allocations: 481 kB / 1.024 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007034/1.238, allocations: 447.6 kB / 1.024 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00111/1.24, allocations: 0.7044 MB / 1.025 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/1.24, allocations: 0 / 1.025 GB, free: 4.496 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001513/1.241, allocations: 0.8413 MB / 1.026 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.241, allocations: 4.719 kB / 1.026 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.241, allocations: 5.344 kB / 1.026 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.241, allocations: 9.938 kB / 1.026 GB, free: 4.066 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/1.243, allocations: 268.5 kB / 1.026 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/1.244, allocations: 1.494 MB / 1.027 GB, free: 2.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.245, allocations: 63.14 kB / 1.027 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/1.245, allocations: 27.12 kB / 1.027 GB, free: 2.402 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.0003303/1.246, allocations: 236.1 kB / 1.028 GB, free: 2.176 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/1.246, allocations: 113.3 kB / 1.028 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/1.248, allocations: 0.7864 MB / 1.028 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.248, allocations: 7.531 kB / 1.028 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.248, allocations: 0.875 kB / 1.028 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/1.249, allocations: 0.7099 MB / 1.029 GB, free: 1.227 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/1.253, allocations: 1.934 MB / 1.031 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.253, allocations: 3.312 kB / 1.031 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/1.253, allocations: 142.5 kB / 1.031 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003484/1.254, allocations: 39.28 kB / 1.031 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/1.254, allocations: 20.27 kB / 1.031 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/1.256, allocations: 1.461 MB / 1.033 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.256, allocations: 2.812 kB / 1.033 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/1.258, allocations: 1.249 MB / 1.034 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/1.259, allocations: 252.4 kB / 1.034 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.259, allocations: 17.36 kB / 1.034 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/1.259, allocations: 27.67 kB / 1.034 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.259, allocations: 42.67 kB / 1.034 GB, free: 13.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/1.259, allocations: 25.92 kB / 1.034 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008471/1.26, allocations: 0.5966 MB / 1.035 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.26, allocations: 0 / 1.035 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001722/1.262, allocations: 0.5382 MB / 1.035 GB, free: 12.55 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.0006341/1.263, allocations: 216.3 kB / 1.036 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004055/1.267, allocations: 1.209 MB / 1.037 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.267, allocations: 0 / 1.037 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008892/1.268, allocations: 446.1 kB / 1.037 GB, free: 10.69 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/1.27, allocations: 0.5233 MB / 1.038 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004469/1.275, allocations: 2.171 MB / 1.04 GB, free: 7.965 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008609/1.276, allocations: 1.136 MB / 1.041 GB, free: 6.801 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001101/1.277, allocations: 268.8 kB / 1.041 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.277, allocations: 91.42 kB / 1.041 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of SimCode: time 1.032e-06/1.277, allocations: 0 / 1.041 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of Templates: time 0.03895/1.316, allocations: 17.64 MB / 1.058 GB, free: 5.07 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)