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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8466/0.8466, allocations: 143.3 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 223.2 MB / 447.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 100.8 kB / 0.5187 GB, free: 1.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 268 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.0006286, allocations: 13.44 kB / 0.6929 GB, free: 59.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2369, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.949/5.186, allocations: 1.88 GB / 2.654 GB, free: 148.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/5.187, allocations: 93.58 kB / 2.654 GB, free: 148.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.969/7.156, allocations: 0.5782 GB / 3.232 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.344e-06/7.156, allocations: 0 / 3.232 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.985e-05/7.156, allocations: 26.92 kB / 3.232 GB, free: 138.7 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003003/7.159, allocations: 1.351 MB / 3.233 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/7.159, allocations: 11.41 kB / 3.233 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/7.159, allocations: 123.9 kB / 3.233 GB, free: 137.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002512/7.161, allocations: 422.7 kB / 3.234 GB, free: 137.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/7.163, allocations: 0.7672 MB / 3.234 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/7.163, allocations: 125.4 kB / 3.235 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/7.164, allocations: 79.98 kB / 3.235 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/7.165, allocations: 0.989 MB / 3.236 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/7.165, allocations: 4 kB / 3.236 GB, free: 135.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/7.165, allocations: 39.95 kB / 3.236 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/7.166, allocations: 26 kB / 3.236 GB, free: 135.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/7.167, allocations: 0.8886 MB / 3.237 GB, free: 134.3 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.004938/7.172, allocations: 3.388 MB / 3.24 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/7.174, allocations: 0.6108 MB / 3.24 GB, free: 130.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/7.174, allocations: 103.4 kB / 3.241 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/7.174, allocations: 38.89 kB / 3.241 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.775e-06/7.174, allocations: 0 / 3.241 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=41): time 0.00443/7.178, allocations: 1.903 MB / 3.242 GB, free: 128.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/7.178, allocations: 59.34 kB / 3.243 GB, free: 128.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/7.179, allocations: 0.6836 MB / 3.243 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/7.179, allocations: 40.8 kB / 3.243 GB, free: 127.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/7.179, allocations: 443.5 kB / 3.244 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/7.18, allocations: 146.3 kB / 3.244 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/7.18, allocations: 12 kB / 3.244 GB, free: 126.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/7.18, allocations: 326 kB / 3.244 GB, free: 126.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/7.18, allocations: 313.5 kB / 3.244 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/7.181, allocations: 433.8 kB / 3.245 GB, free: 125.7 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.003189/7.184, allocations: 1.274 MB / 3.246 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/7.184, allocations: 4 kB / 3.246 GB, free: 124.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001616/7.186, allocations: 0.8426 MB / 3.247 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/7.186, allocations: 12.09 kB / 3.247 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.186, allocations: 7.938 kB / 3.247 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/7.186, allocations: 7.953 kB / 3.247 GB, free: 123.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/7.187, allocations: 163.8 kB / 3.247 GB, free: 123.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/7.187, allocations: 4 kB / 3.247 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/7.188, allocations: 99.67 kB / 3.247 GB, free: 123.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/7.188, allocations: 20 kB / 3.247 GB, free: 123.2 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006027/7.188, allocations: 277.6 kB / 3.247 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/7.189, allocations: 79.06 kB / 3.248 GB, free: 122.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/7.189, allocations: 96 kB / 3.248 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/7.189, allocations: 11.95 kB / 3.248 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/7.189, allocations: 0 / 3.248 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/7.19, allocations: 0.695 MB / 3.248 GB, free: 122 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/7.193, allocations: 1.793 MB / 3.25 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/7.193, allocations: 8.062 kB / 3.25 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/7.194, allocations: 131.8 kB / 3.25 GB, free: 120 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/7.194, allocations: 7.938 kB / 3.25 GB, free: 120 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/7.194, allocations: 19.98 kB / 3.25 GB, free: 120 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/7.194, allocations: 4 kB / 3.25 GB, free: 120 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/7.194, allocations: 4 kB / 3.25 GB, free: 120 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/7.196, allocations: 1.372 MB / 3.252 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/7.196, allocations: 232 kB / 3.252 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/7.197, allocations: 15.98 kB / 3.252 GB, free: 118.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/7.197, allocations: 87.88 kB / 3.252 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/7.197, allocations: 35.91 kB / 3.252 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/7.198, allocations: 35.55 kB / 3.252 GB, free: 118.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006165/7.198, allocations: 0.5302 MB / 3.252 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/7.198, allocations: 0 / 3.252 GB, free: 117.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001328/7.2, allocations: 379.4 kB / 3.253 GB, free: 117.2 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 (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004249/7.204, allocations: 4.062 MB / 3.257 GB, free: 113.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001536/7.205, allocations: 0.674 MB / 3.257 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/7.205, allocations: 7.938 kB / 3.257 GB, free: 112.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006318/7.206, allocations: 329 kB / 3.258 GB, free: 112.2 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002474/7.208, allocations: 0.4969 MB / 3.258 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/7.219, allocations: 7.401 MB / 3.266 GB, free: 104.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/7.219, allocations: 1.052 MB / 3.267 GB, free: 103 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001085/7.22, allocations: 218.4 kB / 3.267 GB, free: 102.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/7.221, allocations: 321.4 kB / 3.267 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.915e-06/7.221, allocations: 0 / 3.267 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06466/7.285, allocations: 44.18 MB / 3.31 GB, free: 58.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/7.285, allocations: 294.3 kB / 3.31 GB, free: 58.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.549/10.83, allocations: 0 / 3.31 GB, free: 58.46 MB / 0.7136 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/linux/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)