Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",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.363/1.363, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0009355/0.0009353, allocations: 166.1 kB / 325.8 MB, free: 2.703 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.495/1.495, allocations: 205 MB / 0.576 GB, free: 21.01 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.0007475/0.0007474, allocations: 90.2 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002935, allocations: 9.531 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1745, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.6262/0.8008, allocations: 218.9 MB / 1.11 GB, free: 1.199 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.811, allocations: 5.878 MB / 1.116 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.8121, allocations: 32.44 kB / 1.116 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.8135, allocations: 0.526 MB / 1.116 GB, free: 1.023 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.8174, allocations: 1.794 MB / 1.118 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.8198, allocations: 1.129 MB / 1.119 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.8238, allocations: 4.343 MB / 1.123 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.8251, allocations: 0.8816 MB / 1.124 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.8268, allocations: 0.9561 MB / 1.125 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/0.8289, allocations: 0.9658 MB / 1.126 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.829, allocations: 43.81 kB / 1.126 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.8315, allocations: 1.62 MB / 1.128 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003636/0.8319, allocations: 426.4 kB / 1.128 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.8325, allocations: 0.5907 MB / 1.129 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.8345, allocations: 2.209 MB / 1.131 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8345, allocations: 0 / 1.131 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8345, allocations: 0 / 1.131 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.8346, allocations: 0 / 1.131 GB, free: 0.5234 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001862/0.8364, allocations: 1.311 MB / 1.132 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8365, allocations: 8.625 kB / 1.132 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001563/0.8366, allocations: 144.8 kB / 1.132 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.8384, allocations: 314.5 kB / 1.133 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.8396, allocations: 0.8125 MB / 1.133 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.8396, allocations: 67.28 kB / 1.133 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.8398, allocations: 90.73 kB / 1.134 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.8416, allocations: 0.9593 MB / 1.134 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.8416, allocations: 3.984 kB / 1.134 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/0.8417, allocations: 39.84 kB / 1.135 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.8418, allocations: 35.28 kB / 1.135 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.8434, allocations: 0.8457 MB / 1.135 GB, free: 15.23 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.005002/0.8484, allocations: 3.582 MB / 1.139 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.8491, allocations: 491.2 kB / 1.139 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.8495, allocations: 302.2 kB / 1.14 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.8497, allocations: 105.2 kB / 1.14 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8498, allocations: 43.59 kB / 1.14 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.8498, allocations: 0 / 1.14 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003211/0.853, allocations: 1.892 MB / 1.142 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.853, allocations: 59 kB / 1.142 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.854, allocations: 0.8246 MB / 1.142 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.8541, allocations: 40.33 kB / 1.143 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.8544, allocations: 489.1 kB / 1.143 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.8545, allocations: 175.9 kB / 1.143 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.8546, allocations: 49.94 kB / 1.143 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8547, allocations: 331.2 kB / 1.144 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.8551, allocations: 243 kB / 1.144 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.8556, allocations: 396.2 kB / 1.144 GB, free: 11.98 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.8586, allocations: 1.504 MB / 1.146 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8586, allocations: 0 / 1.146 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001086/0.8597, allocations: 0.7923 MB / 1.146 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8597, allocations: 10.03 kB / 1.146 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.8597, allocations: 5.469 kB / 1.146 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.8599, allocations: 69.84 kB / 1.146 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.8605, allocations: 166.2 kB / 1.147 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.8627, allocations: 2.883 MB / 1.149 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.8634, allocations: 75.58 kB / 1.15 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.8635, allocations: 23.88 kB / 1.15 GB, free: 8.895 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003737/0.8639, allocations: 307.6 kB / 1.15 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.864, allocations: 93.05 kB / 1.15 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.8642, allocations: 107 kB / 1.15 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.8642, allocations: 5.812 kB / 1.15 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8642, allocations: 3.938 kB / 1.15 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008998/0.8651, allocations: 0.8412 MB / 1.151 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.8677, allocations: 1.825 MB / 1.153 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8677, allocations: 3.344 kB / 1.153 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.8683, allocations: 145.1 kB / 1.153 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.8684, allocations: 40.3 kB / 1.153 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.8684, allocations: 13.91 kB / 1.153 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.8695, allocations: 1.472 MB / 1.154 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.8695, allocations: 11.53 kB / 1.154 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.8709, allocations: 1.103 MB / 1.155 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.8713, allocations: 252.7 kB / 1.156 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.8714, allocations: 16 kB / 1.156 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.8722, allocations: 77.92 kB / 1.156 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8723, allocations: 52.39 kB / 1.156 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.8724, allocations: 28.14 kB / 1.156 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006051/0.873, allocations: 0.5803 MB / 1.156 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.873, allocations: 0 / 1.156 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007139/0.8737, allocations: 276.3 kB / 1.157 GB, free: 4.348 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * 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 (47): * Single equations (assignments): 46 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001927/0.8756, allocations: 1.726 MB / 1.158 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.8768, allocations: 0.7983 MB / 1.159 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8768, allocations: 3.219 kB / 1.159 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.8774, allocations: 417.4 kB / 1.159 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.8803, allocations: 0.58 MB / 1.16 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.8907, allocations: 7.719 MB / 1.168 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.8914, allocations: 1.099 MB / 1.169 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000785/0.8922, allocations: 220.5 kB / 1.169 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/0.8926, allocations: 346.3 kB / 1.169 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8926, allocations: 0 / 1.169 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.9332, allocations: 26.52 MB / 1.195 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.9334, allocations: 314 kB / 1.195 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/3.741, allocations: 6.344 kB / 1.195 GB, free: 2.23 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)