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.557/1.557, allocations: 252 MB / 267 MB, free: 10.96 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.001418/0.001418, allocations: 179.6 kB / 326.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.001048/0.001048, allocations: 86.3 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 11.72 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2638, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8446/1.108, allocations: 201.9 MB / 1.097 GB, free: 3.789 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01071/1.119, allocations: 5.502 MB / 1.103 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002995/1.122, allocations: 31.44 kB / 1.103 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/1.125, allocations: 416.3 kB / 1.103 GB, free: 3.629 MB / 0.698 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.005759/1.13, allocations: 1.424 MB / 1.105 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/1.134, allocations: 0.8707 MB / 1.105 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006576/1.141, allocations: 3.657 MB / 1.109 GB, free: 3.535 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/1.143, allocations: 0.7661 MB / 1.11 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/1.145, allocations: 0.9523 MB / 1.111 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/1.147, allocations: 0.9164 MB / 1.112 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001811/1.148, allocations: 43.34 kB / 1.112 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/1.15, allocations: 0.7053 MB / 1.112 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005357/1.151, allocations: 418.9 kB / 1.113 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007586/1.152, allocations: 264.2 kB / 1.113 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/1.154, allocations: 1.538 MB / 1.115 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.154, allocations: 0 / 1.115 GB, free: 19.27 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/1.154, allocations: 4 kB / 1.115 GB, free: 19.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.168e-05/1.154, allocations: 0 / 1.115 GB, free: 19.26 MB / 0.7136 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.002449/1.157, allocations: 1.31 MB / 1.116 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.157, allocations: 9.188 kB / 1.116 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/1.157, allocations: 150.1 kB / 1.116 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.159, allocations: 319.2 kB / 1.116 GB, free: 18.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.16, allocations: 0.7931 MB / 1.117 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.6e-05/1.16, allocations: 73.95 kB / 1.117 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.16, allocations: 85.47 kB / 1.117 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/1.162, allocations: 0.9415 MB / 1.118 GB, free: 18.03 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.162, allocations: 3.938 kB / 1.118 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/1.162, allocations: 39.69 kB / 1.118 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/1.162, allocations: 34.91 kB / 1.118 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.164, allocations: 0.8443 MB / 1.119 GB, free: 18.01 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.005531/1.169, allocations: 3.579 MB / 1.122 GB, free: 16.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007682/1.17, allocations: 490.7 kB / 1.123 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/1.17, allocations: 295.2 kB / 1.123 GB, free: 16.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.171, allocations: 101.5 kB / 1.123 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.171, allocations: 52.31 kB / 1.123 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.597e-06/1.171, allocations: 0 / 1.123 GB, free: 16.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003844/1.174, allocations: 1.882 MB / 1.125 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/1.175, allocations: 61.11 kB / 1.125 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/1.176, allocations: 0.816 MB / 1.126 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/1.176, allocations: 38.67 kB / 1.126 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.176, allocations: 487.4 kB / 1.127 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.176, allocations: 173.3 kB / 1.127 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/1.176, allocations: 10 kB / 1.127 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.176, allocations: 335 kB / 1.127 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/1.177, allocations: 239.9 kB / 1.127 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/1.177, allocations: 388.8 kB / 1.128 GB, free: 14.78 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.00249/1.18, allocations: 0.9363 MB / 1.129 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.18, allocations: 0 / 1.129 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001311/1.181, allocations: 0.7923 MB / 1.129 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.181, allocations: 10.12 kB / 1.129 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.181, allocations: 1.781 kB / 1.129 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/1.181, allocations: 76.56 kB / 1.129 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006966/1.182, allocations: 160.1 kB / 1.13 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/1.185, allocations: 2.883 MB / 1.132 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.186, allocations: 70.88 kB / 1.132 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-05/1.186, allocations: 27.3 kB / 1.133 GB, free: 12 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 (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.0008394/1.187, allocations: 314.5 kB / 1.133 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/1.187, allocations: 96 kB / 1.133 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/1.187, allocations: 104.7 kB / 1.133 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/1.187, allocations: 6.375 kB / 1.133 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.187, allocations: 0 / 1.133 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/1.189, allocations: 0.8294 MB / 1.134 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003791/1.192, allocations: 1.813 MB / 1.136 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.192, allocations: 6.625 kB / 1.136 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/1.193, allocations: 146.2 kB / 1.136 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/1.193, allocations: 41.84 kB / 1.136 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/1.193, allocations: 17.02 kB / 1.136 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/1.195, allocations: 1.471 MB / 1.137 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.195, allocations: 13.52 kB / 1.137 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/1.196, allocations: 1.088 MB / 1.138 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/1.197, allocations: 258.7 kB / 1.139 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/1.197, allocations: 12.97 kB / 1.139 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008334/1.198, allocations: 78.28 kB / 1.139 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.198, allocations: 50.61 kB / 1.139 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/1.198, allocations: 27.64 kB / 1.139 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007865/1.199, allocations: 0.5674 MB / 1.139 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/1.199, allocations: 0 / 1.139 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001015/1.2, allocations: 280.3 kB / 1.14 GB, free: 8.797 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 (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.002208/1.202, allocations: 1.733 MB / 1.141 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.203, allocations: 0.7914 MB / 1.142 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.203, allocations: 0 / 1.142 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/1.204, allocations: 416 kB / 1.142 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.206, allocations: 0.5875 MB / 1.143 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008723/1.215, allocations: 5.506 MB / 1.148 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/1.216, allocations: 1.102 MB / 1.149 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001112/1.217, allocations: 217 kB / 1.15 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/1.218, allocations: 346.9 kB / 1.15 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.443e-06/1.218, allocations: 0 / 1.15 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05438/1.272, allocations: 27.43 MB / 1.177 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.272, allocations: 290.8 kB / 1.177 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.909/4.182, allocations: 4 kB / 1.177 GB, free: 14.98 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)