Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.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.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate",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.003914/0.003914, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001144/0.001144, allocations: 202.6 kB / 16.68 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 286.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9755/0.9755, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002574/0.002574, allocations: 104.2 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1551, allocations: 86.97 MB / 0.7659 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate): time 0.5207/0.6759, allocations: 221.1 MB / 0.9818 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00907/0.685, allocations: 5.719 MB / 0.9874 GB, free: 68 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.6862, allocations: 43.75 kB / 0.9875 GB, free: 24 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.6877, allocations: 0.5751 MB / 0.988 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.6915, allocations: 1.629 MB / 0.9896 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.6944, allocations: 1.214 MB / 0.9908 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003108/0.6975, allocations: 2.584 MB / 0.9933 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.6988, allocations: 0.8914 MB / 0.9942 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.7007, allocations: 1.059 MB / 0.9952 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.7026, allocations: 0.8426 MB / 0.9961 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.7029, allocations: 96 kB / 0.9962 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.7054, allocations: 1.54 MB / 0.9977 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.7059, allocations: 414.9 kB / 0.9981 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008049/0.7067, allocations: 0.5833 MB / 0.9986 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.7095, allocations: 2.024 MB / 1.001 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.7095, allocations: 0 / 1.001 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7095, allocations: 0 / 1.001 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.374e-05/0.7095, allocations: 0 / 1.001 GB, free: 2.566 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.002538/0.7121, allocations: 1.463 MB / 1.002 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7121, allocations: 8.031 kB / 1.002 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.7123, allocations: 126.6 kB / 1.002 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.7149, allocations: 434.8 kB / 1.003 GB, free: 492 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001439/0.7163, allocations: 0.8046 MB / 1.003 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.7164, allocations: 58 kB / 1.003 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.7165, allocations: 76 kB / 1.003 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.7183, allocations: 0.9828 MB / 1.004 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7184, allocations: 0 / 1.004 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.7184, allocations: 35.94 kB / 1.004 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.7185, allocations: 33.92 kB / 1.005 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.7204, allocations: 0.8783 MB / 1.005 GB, free: 13.56 MB / 0.7637 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.005667/0.7261, allocations: 3.484 MB / 1.009 GB, free: 9.891 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.7276, allocations: 0.6073 MB / 1.009 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/0.7283, allocations: 345.5 kB / 1.01 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.7285, allocations: 101.1 kB / 1.01 GB, free: 8.824 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.7286, allocations: 46.5 kB / 1.01 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=39): time 1.623e-06/0.7286, allocations: 0 / 1.01 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of matching and sorting (n=41): time 0.004598/0.7332, allocations: 1.895 MB / 1.012 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.7332, allocations: 55.41 kB / 1.012 GB, free: 6.754 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.7342, allocations: 0.7861 MB / 1.013 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.7342, allocations: 37.7 kB / 1.013 GB, free: 5.918 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003443/0.7346, allocations: 456.4 kB / 1.013 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.7347, allocations: 158.7 kB / 1.013 GB, free: 5.312 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/0.7349, allocations: 110.2 kB / 1.013 GB, free: 5.199 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7351, allocations: 325.9 kB / 1.014 GB, free: 4.875 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.7358, allocations: 316.8 kB / 1.014 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.7367, allocations: 450.1 kB / 1.014 GB, free: 4.082 MB / 0.7637 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.005045/0.7417, allocations: 1.927 MB / 1.016 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.7418, allocations: 0 / 1.016 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001826/0.7436, allocations: 0.8508 MB / 1.017 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7436, allocations: 8 kB / 1.017 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7436, allocations: 0 / 1.017 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.7436, allocations: 11.98 kB / 1.017 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.7444, allocations: 163.8 kB / 1.017 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.7445, allocations: 8 kB / 1.017 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008103/0.7453, allocations: 59.22 kB / 1.017 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.7453, allocations: 20 kB / 1.017 GB, free: 0.9727 MB / 0.7637 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003705/0.7457, allocations: 282.5 kB / 1.018 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.7459, allocations: 91.44 kB / 1.018 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.7461, allocations: 96.08 kB / 1.018 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7461, allocations: 4 kB / 1.018 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7461, allocations: 0 / 1.018 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/0.7476, allocations: 0.6843 MB / 1.018 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.7514, allocations: 1.902 MB / 1.02 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7514, allocations: 4.875 kB / 1.02 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007263/0.7521, allocations: 144.2 kB / 1.02 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.7521, allocations: 4 kB / 1.02 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-05/0.7522, allocations: 12 kB / 1.02 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.7522, allocations: 19.86 kB / 1.02 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7522, allocations: 0 / 1.02 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.7546, allocations: 1.225 MB / 1.022 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.755, allocations: 245.7 kB / 1.022 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.7551, allocations: 16 kB / 1.022 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.7559, allocations: 55.88 kB / 1.022 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.756, allocations: 39.84 kB / 1.022 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.7561, allocations: 35.91 kB / 1.022 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006651/0.7568, allocations: 0.5381 MB / 1.022 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7568, allocations: 0 / 1.022 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008432/0.7576, allocations: 247.9 kB / 1.023 GB, free: 11.14 MB / 0.7794 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003074/0.7607, allocations: 1.866 MB / 1.025 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.7624, allocations: 0.7016 MB / 1.025 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7624, allocations: 4 kB / 1.025 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.7631, allocations: 333.7 kB / 1.026 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002211/0.7654, allocations: 0.5287 MB / 1.026 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.7776, allocations: 7.192 MB / 1.033 GB, free: 196 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.7783, allocations: 1.044 MB / 1.034 GB, free: 15.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0007197/0.779, allocations: 223 kB / 1.034 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/0.7795, allocations: 323.3 kB / 1.035 GB, free: 14.58 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.7795, allocations: 0 / 1.035 GB, free: 14.58 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/1.071, allocations: 25.59 MB / 1.06 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/12.07, allocations: 12.77 kB / 1.06 GB, free: 5.461 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlowPrescribedHeatFlowRate.pipe 2>&1)