Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009531/0.0009532, allocations: 178 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007858/0.0007859, allocations: 89.98 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8.688 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.4879/0.6411, allocations: 196.5 MB / 1.088 GB, free: 1.527 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.652, allocations: 10.5 MB / 1.098 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001551/0.6536, allocations: 49 kB / 1.098 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.6549, allocations: 481.6 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.6592, allocations: 1.849 MB / 1.101 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6621, allocations: 1.263 MB / 1.102 GB, free: 1.145 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003168/0.6652, allocations: 3.725 MB / 1.106 GB, free: 1.137 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6663, allocations: 0.9748 MB / 1.106 GB, free: 0.957 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003434/0.6698, allocations: 1.486 MB / 1.108 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.6713, allocations: 0.9314 MB / 1.109 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.6714, allocations: 46.38 kB / 1.109 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.6749, allocations: 2.375 MB / 1.111 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.6753, allocations: 355.6 kB / 1.112 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.6759, allocations: 0.6236 MB / 1.112 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.6787, allocations: 2.516 MB / 1.115 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6787, allocations: 2.625 kB / 1.115 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6787, allocations: 0 / 1.115 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.6787, allocations: 0 / 1.115 GB, free: 0.7305 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002033/0.6808, allocations: 1.569 MB / 1.116 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6808, allocations: 11.91 kB / 1.116 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.681, allocations: 153 kB / 1.116 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.6827, allocations: 372.2 kB / 1.117 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.6839, allocations: 0.9192 MB / 1.118 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.684, allocations: 78.83 kB / 1.118 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.6841, allocations: 104.4 kB / 1.118 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.6855, allocations: 1.114 MB / 1.119 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6855, allocations: 4 kB / 1.119 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/0.6856, allocations: 45.56 kB / 1.119 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.6857, allocations: 33.31 kB / 1.119 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.6868, allocations: 0.804 MB / 1.12 GB, free: 15.07 MB / 0.7136 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.004623/0.6915, allocations: 5.091 MB / 1.125 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.6925, allocations: 0.686 MB / 1.125 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.6929, allocations: 352.4 kB / 1.126 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.6935, allocations: 331.5 kB / 1.126 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.6935, allocations: 45.69 kB / 1.126 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.215e-06/0.6935, allocations: 0 / 1.126 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001714/0.6953, allocations: 0.9275 MB / 1.127 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6953, allocations: 61 kB / 1.127 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.6965, allocations: 0.8787 MB / 1.128 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.6966, allocations: 40.77 kB / 1.128 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.697, allocations: 0.5624 MB / 1.128 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.6972, allocations: 248.3 kB / 1.129 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.6974, allocations: 68.59 kB / 1.129 GB, free: 11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6975, allocations: 337.7 kB / 1.129 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.698, allocations: 247.8 kB / 1.129 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.6986, allocations: 446.6 kB / 1.13 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.6998, allocations: 0.7008 MB / 1.13 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.6998, allocations: 6.906 kB / 1.13 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00125/0.7011, allocations: 0.8283 MB / 1.131 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.7012, allocations: 227.3 kB / 1.131 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.7013, allocations: 5.188 kB / 1.131 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7013, allocations: 8.25 kB / 1.131 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.7027, allocations: 254 kB / 1.132 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.7039, allocations: 1.394 MB / 1.133 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007849/0.7047, allocations: 119.9 kB / 1.133 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.426e-05/0.7047, allocations: 37.03 kB / 1.133 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.7047, allocations: 2.719 kB / 1.133 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009696/0.7057, allocations: 0.7052 MB / 1.134 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7057, allocations: 3.562 kB / 1.134 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.7057, allocations: 8.656 kB / 1.134 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.707, allocations: 259.8 kB / 1.134 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.7081, allocations: 1.394 MB / 1.136 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.7088, allocations: 118.8 kB / 1.136 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.7088, allocations: 29.84 kB / 1.136 GB, free: 7.086 MB / 0.7136 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.0004657/0.7093, allocations: 373.5 kB / 1.136 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.7095, allocations: 117.3 kB / 1.136 GB, free: 6.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.7109, allocations: 0.7801 MB / 1.137 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.7109, allocations: 8.188 kB / 1.137 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.7109, allocations: 0 / 1.137 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001147/0.712, allocations: 0.7065 MB / 1.138 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.715, allocations: 1.937 MB / 1.139 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.715, allocations: 3.938 kB / 1.139 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006239/0.7156, allocations: 140.6 kB / 1.14 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.716, allocations: 47.77 kB / 1.14 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/0.7161, allocations: 18.09 kB / 1.14 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.7171, allocations: 1.353 MB / 1.141 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7171, allocations: 0 / 1.141 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.7188, allocations: 1.253 MB / 1.142 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.7192, allocations: 257.6 kB / 1.142 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.7193, allocations: 15.5 kB / 1.142 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.7199, allocations: 65.14 kB / 1.143 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.72, allocations: 54.03 kB / 1.143 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.72, allocations: 25.23 kB / 1.143 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000628/0.7206, allocations: 0.5945 MB / 1.143 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7207, allocations: 0 / 1.143 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001162/0.7218, allocations: 0.5397 MB / 1.144 GB, free: 4.199 MB / 0.7136 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.002302/0.7241, allocations: 1.907 MB / 1.146 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.7271, allocations: 1.181 MB / 1.147 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7271, allocations: 1.75 kB / 1.147 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/0.7277, allocations: 453.8 kB / 1.147 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.73, allocations: 0.5096 MB / 1.148 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.7406, allocations: 8.892 MB / 1.156 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.7412, allocations: 1.143 MB / 1.157 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001077/0.7423, allocations: 270.9 kB / 1.158 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.7428, allocations: 461.6 kB / 1.158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of SimCode: time 6.61e-07/0.7428, allocations: 0 / 1.158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/0.9139, allocations: 26.11 MB / 1.184 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.9142, allocations: 301.4 kB / 1.184 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.572, allocations: 4 kB / 1.184 GB, free: 4.223 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)