Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.4 MB / 303.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 178.2 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007978, allocations: 89.31 kB / 0.744 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004636, allocations: 12.41 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2506, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8276/1.078, allocations: 201.4 MB / 1.176 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01165/1.09, allocations: 5.342 MB / 1.182 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001924/1.092, allocations: 33.62 kB / 1.182 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/1.094, allocations: 400.8 kB / 1.182 GB, free: 1.105 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005535/1.099, allocations: 1.372 MB / 1.183 GB, free: 28 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/1.103, allocations: 0.8368 MB / 1.184 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0061/1.11, allocations: 3.41 MB / 1.187 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.111, allocations: 0.7209 MB / 1.188 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/1.114, allocations: 0.8842 MB / 1.189 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/1.116, allocations: 0.8723 MB / 1.19 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002233/1.116, allocations: 40.62 kB / 1.19 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/1.119, allocations: 0.7031 MB / 1.191 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005674/1.12, allocations: 389.2 kB / 1.191 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0006128/1.12, allocations: 252.8 kB / 1.191 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/1.123, allocations: 1.468 MB / 1.193 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.123, allocations: 0 / 1.193 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.014e-06/1.123, allocations: 0 / 1.193 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.41e-05/1.123, allocations: 3.938 kB / 1.193 GB, free: 10.41 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003093/1.126, allocations: 1.29 MB / 1.194 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.059e-05/1.126, allocations: 11.59 kB / 1.194 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/1.126, allocations: 136.6 kB / 1.194 GB, free: 9.309 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/1.129, allocations: 319.5 kB / 1.194 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/1.13, allocations: 0.7677 MB / 1.195 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/1.13, allocations: 70.02 kB / 1.195 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/1.13, allocations: 85.19 kB / 1.195 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/1.132, allocations: 0.9162 MB / 1.196 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.132, allocations: 6.734 kB / 1.196 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.132, allocations: 36.06 kB / 1.196 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/1.132, allocations: 36.36 kB / 1.196 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/1.134, allocations: 0.8286 MB / 1.197 GB, free: 7.551 MB / 0.7292 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.006607/1.141, allocations: 3.543 MB / 1.201 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/1.142, allocations: 0.4978 MB / 1.201 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005141/1.142, allocations: 296.7 kB / 1.201 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/1.142, allocations: 102 kB / 1.201 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.142, allocations: 48.23 kB / 1.201 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=47): time 3.257e-06/1.142, allocations: 0 / 1.201 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.004366/1.147, allocations: 1.891 MB / 1.203 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.147, allocations: 57.62 kB / 1.203 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.148, allocations: 0.7889 MB / 1.204 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.988e-05/1.148, allocations: 39.64 kB / 1.204 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/1.148, allocations: 480.5 kB / 1.205 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/1.149, allocations: 179.3 kB / 1.205 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/1.149, allocations: 10.91 kB / 1.205 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.149, allocations: 327.1 kB / 1.205 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000438/1.149, allocations: 243.2 kB / 1.205 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005379/1.15, allocations: 389.1 kB / 1.206 GB, free: 1.105 MB / 0.7292 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.002863/1.153, allocations: 0.9941 MB / 1.207 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/1.153, allocations: 0 / 1.207 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001444/1.154, allocations: 0.7948 MB / 1.207 GB, free: 160 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.154, allocations: 7.188 kB / 1.207 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.154, allocations: 5.094 kB / 1.207 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/1.154, allocations: 74.59 kB / 1.208 GB, free: 116 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/1.155, allocations: 163.3 kB / 1.208 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.158, allocations: 2.882 MB / 1.21 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.159, allocations: 66.36 kB / 1.211 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/1.159, allocations: 22.88 kB / 1.211 GB, free: 13.18 MB / 0.7448 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: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007587/1.16, allocations: 297.3 kB / 1.211 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.16, allocations: 89.44 kB / 1.211 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/1.16, allocations: 107.9 kB / 1.211 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.16, allocations: 9.141 kB / 1.211 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.16, allocations: 4 kB / 1.211 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.162, allocations: 0.8425 MB / 1.212 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/1.165, allocations: 1.798 MB / 1.214 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.165, allocations: 4.406 kB / 1.214 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/1.165, allocations: 147.8 kB / 1.214 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/1.166, allocations: 40.84 kB / 1.214 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/1.166, allocations: 15.98 kB / 1.214 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/1.167, allocations: 1.468 MB / 1.215 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.167, allocations: 11.89 kB / 1.215 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/1.169, allocations: 1.095 MB / 1.216 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/1.169, allocations: 236 kB / 1.217 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.17, allocations: 16 kB / 1.217 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/1.17, allocations: 68.61 kB / 1.217 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.17, allocations: 47.83 kB / 1.217 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.386e-05/1.17, allocations: 27.98 kB / 1.217 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008308/1.171, allocations: 0.5537 MB / 1.217 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.604e-06/1.171, allocations: 0 / 1.217 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001147/1.172, allocations: 271.9 kB / 1.218 GB, free: 6.023 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00255/1.175, allocations: 1.737 MB / 1.219 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001589/1.177, allocations: 0.812 MB / 1.22 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.177, allocations: 4.812 kB / 1.22 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/1.177, allocations: 406.3 kB / 1.22 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/1.18, allocations: 0.5803 MB / 1.221 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/1.19, allocations: 5.399 MB / 1.226 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/1.191, allocations: 1.084 MB / 1.227 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001158/1.192, allocations: 219.7 kB / 1.228 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/1.193, allocations: 343.3 kB / 1.228 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of SimCode: time 1.613e-06/1.193, allocations: 0 / 1.228 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0569/1.25, allocations: 26.72 MB / 1.254 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/1.25, allocations: 289.3 kB / 1.254 GB, free: 428 kB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.137/4.387, allocations: 0 / 1.254 GB, free: 428 kB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)