Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 108 kB / 15.6 MB, free: 132 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.001381/0.001381, allocations: 200.1 kB / 16.54 MB, free: 6.672 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.47/1.47, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.813/1.813, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001406/0.001406, allocations: 66.56 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2628, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.8633/1.126, allocations: 221 MB / 0.9993 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01197/1.138, allocations: 5.673 MB / 1.005 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00248/1.141, allocations: 38.53 kB / 1.005 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/1.143, allocations: 0.5804 MB / 1.005 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006696/1.15, allocations: 1.828 MB / 1.007 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003698/1.154, allocations: 1.173 MB / 1.008 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004635/1.158, allocations: 2.91 MB / 1.011 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/1.16, allocations: 1.024 MB / 1.012 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/1.163, allocations: 1.044 MB / 1.013 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/1.166, allocations: 0.9421 MB / 1.014 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/1.166, allocations: 108.3 kB / 1.014 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004042/1.17, allocations: 1.428 MB / 1.016 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005488/1.17, allocations: 465.2 kB / 1.016 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009786/1.171, allocations: 0.6418 MB / 1.017 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/1.177, allocations: 2.109 MB / 1.019 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/1.177, allocations: 0 / 1.019 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.126e-06/1.177, allocations: 3.938 kB / 1.019 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.862e-05/1.177, allocations: 0 / 1.019 GB, free: 15.27 MB / 0.7481 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.004078/1.181, allocations: 1.502 MB / 1.02 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.416e-05/1.181, allocations: 10.12 kB / 1.02 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/1.182, allocations: 143.6 kB / 1.02 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002373/1.184, allocations: 313.5 kB / 1.021 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.186, allocations: 0.7948 MB / 1.022 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/1.186, allocations: 65.27 kB / 1.022 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001406/1.186, allocations: 85.47 kB / 1.022 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.188, allocations: 0.9278 MB / 1.023 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/1.188, allocations: 2.344 kB / 1.023 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.902e-05/1.188, allocations: 35.75 kB / 1.023 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/1.188, allocations: 31.91 kB / 1.023 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/1.189, allocations: 0.8371 MB / 1.023 GB, free: 12.24 MB / 0.7481 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.006876/1.196, allocations: 3.533 MB / 1.027 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/1.197, allocations: 0.4967 MB / 1.027 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/1.197, allocations: 299.9 kB / 1.028 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/1.198, allocations: 105.1 kB / 1.028 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/1.198, allocations: 47.33 kB / 1.028 GB, free: 8.891 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 3.958e-06/1.198, allocations: 3.938 kB / 1.028 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.004532/1.202, allocations: 1.872 MB / 1.03 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.202, allocations: 56.78 kB / 1.03 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/1.204, allocations: 0.7988 MB / 1.03 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.204, allocations: 36.52 kB / 1.031 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.204, allocations: 469.2 kB / 1.031 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.204, allocations: 180.1 kB / 1.031 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/1.205, allocations: 120.2 kB / 1.031 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.205, allocations: 326.8 kB / 1.032 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004556/1.205, allocations: 244.7 kB / 1.032 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006027/1.206, allocations: 385 kB / 1.032 GB, free: 5.734 MB / 0.7481 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.003785/1.21, allocations: 1.534 MB / 1.034 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.21, allocations: 2.531 kB / 1.034 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0016/1.211, allocations: 0.7906 MB / 1.034 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.211, allocations: 5.5 kB / 1.034 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.211, allocations: 4.906 kB / 1.034 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002515/1.212, allocations: 70.7 kB / 1.035 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/1.212, allocations: 153.2 kB / 1.035 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003264/1.216, allocations: 3.125 MB / 1.038 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/1.217, allocations: 32.59 kB / 1.038 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/1.217, allocations: 21.06 kB / 1.038 GB, free: 1.246 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (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.0006586/1.218, allocations: 310.6 kB / 1.038 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002838/1.218, allocations: 90.34 kB / 1.038 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/1.218, allocations: 100 kB / 1.038 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.218, allocations: 2.812 kB / 1.038 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.218, allocations: 2.281 kB / 1.038 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/1.219, allocations: 0.8344 MB / 1.039 GB, free: 216 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/1.223, allocations: 1.793 MB / 1.041 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.223, allocations: 7.922 kB / 1.041 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/1.224, allocations: 132.3 kB / 1.041 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/1.224, allocations: 40.83 kB / 1.041 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/1.224, allocations: 12 kB / 1.041 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/1.225, allocations: 1.59 MB / 1.043 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.226, allocations: 11.88 kB / 1.043 GB, free: 12.88 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/1.227, allocations: 1.095 MB / 1.044 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/1.228, allocations: 236 kB / 1.044 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/1.228, allocations: 12 kB / 1.044 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/1.229, allocations: 35.02 kB / 1.044 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.229, allocations: 51.89 kB / 1.044 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.725e-05/1.229, allocations: 27.98 kB / 1.044 GB, free: 11.35 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001051/1.23, allocations: 0.5537 MB / 1.045 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.23, allocations: 0 / 1.045 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001644/1.232, allocations: 272 kB / 1.045 GB, free: 10.54 MB / 0.7637 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.002859/1.235, allocations: 1.731 MB / 1.046 GB, free: 8.742 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.237, allocations: 0.8625 MB / 1.047 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.237, allocations: 0 / 1.047 GB, free: 7.855 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006032/1.237, allocations: 407.9 kB / 1.048 GB, free: 7.445 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/1.24, allocations: 0.5954 MB / 1.048 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.252, allocations: 7.268 MB / 1.055 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009783/1.253, allocations: 1.088 MB / 1.056 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001279/1.254, allocations: 215.7 kB / 1.057 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005564/1.255, allocations: 335.3 kB / 1.057 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of SimCode: time 3.486e-06/1.255, allocations: 0 / 1.057 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06816/1.323, allocations: 27.15 MB / 1.083 GB, free: 2.922 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.57, allocations: 19.55 kB / 1.083 GB, free: 2.902 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)