Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.005263/0.005263, allocations: 101.1 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 189.7 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 296.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.116/1.116, allocations: 178.6 MB / 0.5074 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 99.84 kB / 0.6943 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3562, allocations: 89.12 MB / 0.7814 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow): time 0.5689/0.9252, allocations: 221.1 MB / 0.9972 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007439/0.9326, allocations: 5.729 MB / 1.003 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007441/0.9334, allocations: 42 kB / 1.003 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.9346, allocations: 0.5845 MB / 1.003 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.9379, allocations: 1.841 MB / 1.005 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.9402, allocations: 1.194 MB / 1.006 GB, free: 16.78 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.9432, allocations: 2.949 MB / 1.009 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.9444, allocations: 1.031 MB / 1.01 GB, free: 16.66 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.946, allocations: 1.064 MB / 1.011 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.9477, allocations: 0.9455 MB / 1.012 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/0.9479, allocations: 108.2 kB / 1.012 GB, free: 16.64 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.9503, allocations: 1.428 MB / 1.014 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004018/0.9507, allocations: 458 kB / 1.014 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.9514, allocations: 0.6612 MB / 1.015 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.9537, allocations: 2.134 MB / 1.017 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.9537, allocations: 0.9062 kB / 1.017 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9537, allocations: 0.875 kB / 1.017 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.9538, allocations: 0 / 1.017 GB, free: 16.51 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.001974/0.9557, allocations: 1.545 MB / 1.018 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.9558, allocations: 9.844 kB / 1.018 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.9559, allocations: 145.6 kB / 1.019 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.9578, allocations: 316.4 kB / 1.019 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.9589, allocations: 0.8701 MB / 1.02 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.9589, allocations: 66.28 kB / 1.02 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9591, allocations: 84.91 kB / 1.02 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.9605, allocations: 0.9152 MB / 1.021 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.9605, allocations: 4.828 kB / 1.021 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.9606, allocations: 40.09 kB / 1.021 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.9606, allocations: 34.81 kB / 1.021 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.9619, allocations: 0.8374 MB / 1.022 GB, free: 15.19 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.003903/0.9658, allocations: 3.514 MB / 1.025 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.9665, allocations: 0.4901 MB / 1.026 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.9669, allocations: 300.7 kB / 1.026 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.967, allocations: 104.1 kB / 1.026 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.967, allocations: 43.41 kB / 1.026 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.967, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=49): time 0.002735/0.9698, allocations: 1.891 MB / 1.028 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.9698, allocations: 58.78 kB / 1.028 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.9705, allocations: 0.8073 MB / 1.029 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.9706, allocations: 38.83 kB / 1.029 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.9708, allocations: 484.6 kB / 1.029 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.9709, allocations: 184.1 kB / 1.029 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.971, allocations: 115.7 kB / 1.029 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.121e-05/0.9711, allocations: 335.4 kB / 1.03 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.9714, allocations: 242.2 kB / 1.03 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.9719, allocations: 383.9 kB / 1.03 GB, free: 12 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.003061/0.9749, allocations: 1.544 MB / 1.032 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9749, allocations: 3.625 kB / 1.032 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001001/0.976, allocations: 0.792 MB / 1.033 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.976, allocations: 9.469 kB / 1.033 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.976, allocations: 2.469 kB / 1.033 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.9761, allocations: 64.44 kB / 1.033 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.9767, allocations: 154.8 kB / 1.033 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.9783, allocations: 3.124 MB / 1.036 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.979, allocations: 30.8 kB / 1.036 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.979, allocations: 23.56 kB / 1.036 GB, free: 8.949 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.0003001/0.9793, allocations: 302.7 kB / 1.036 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.9795, allocations: 96.16 kB / 1.036 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.9796, allocations: 100 kB / 1.036 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.9796, allocations: 5.938 kB / 1.036 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9796, allocations: 2.688 kB / 1.036 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007678/0.9804, allocations: 0.8393 MB / 1.037 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.9825, allocations: 1.791 MB / 1.039 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.9825, allocations: 5.25 kB / 1.039 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.983, allocations: 129.2 kB / 1.039 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-05/0.9831, allocations: 42.8 kB / 1.039 GB, free: 7.891 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.9831, allocations: 20.48 kB / 1.039 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007795/0.9839, allocations: 1.593 MB / 1.041 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9839, allocations: 6 kB / 1.041 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.9852, allocations: 1.081 MB / 1.042 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.9854, allocations: 242.5 kB / 1.042 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.9855, allocations: 12.44 kB / 1.042 GB, free: 6.082 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.9861, allocations: 35.58 kB / 1.042 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.9862, allocations: 44.64 kB / 1.042 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.9863, allocations: 31.17 kB / 1.042 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005524/0.9869, allocations: 0.5618 MB / 1.043 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9869, allocations: 0 / 1.043 GB, free: 5.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006967/0.9876, allocations: 273.8 kB / 1.043 GB, free: 5.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.001618/0.9892, allocations: 1.707 MB / 1.045 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.9902, allocations: 0.8157 MB / 1.045 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.9902, allocations: 0.7812 kB / 1.045 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.9907, allocations: 405.9 kB / 1.046 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/0.993, allocations: 0.5968 MB / 1.046 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/1, allocations: 7.048 MB / 1.053 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.001, allocations: 1.081 MB / 1.054 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000644/1.001, allocations: 218.8 kB / 1.055 GB, free: 1.574 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003619/1.002, allocations: 348.3 kB / 1.055 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/1.002, allocations: 3.375 kB / 1.055 GB, free: 1.562 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05623/1.058, allocations: 27.45 MB / 1.082 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.33, allocations: 7.469 kB / 1.082 GB, free: 2.371 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)