Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.8519/0.8519, allocations: 143.3 MB / 158.3 MB, free: 5.801 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.00133/0.00133, allocations: 173.1 kB / 191.5 MB, free: 5.773 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.609/1.609, allocations: 223.2 MB / 447.7 MB, free: 4.855 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.0009031/0.0009031, allocations: 84.31 kB / 0.5187 GB, free: 1.211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 265.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005125/0.0005126, allocations: 25.09 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2442, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.126/6.37, allocations: 2.127 GB / 2.901 GB, free: 244 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/6.371, allocations: 106.5 kB / 2.901 GB, free: 243.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.335/8.705, allocations: 0.7137 GB / 3.614 GB, free: 80.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.114e-06/8.705, allocations: 0 / 3.614 GB, free: 80.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001083/8.705, allocations: 43.27 kB / 3.614 GB, free: 80.09 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.003502/8.709, allocations: 1.804 MB / 3.616 GB, free: 78.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/8.709, allocations: 8.031 kB / 3.616 GB, free: 78.22 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/8.709, allocations: 172.5 kB / 3.616 GB, free: 78.04 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002872/8.712, allocations: 489.7 kB / 3.617 GB, free: 77.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/8.714, allocations: 1.329 MB / 3.618 GB, free: 76.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/8.714, allocations: 78.06 kB / 3.618 GB, free: 76.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/8.715, allocations: 116 kB / 3.618 GB, free: 76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/8.716, allocations: 1.3 MB / 3.62 GB, free: 74.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/8.716, allocations: 0 / 3.62 GB, free: 74.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/8.717, allocations: 40 kB / 3.62 GB, free: 74.63 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/8.717, allocations: 38.06 kB / 3.62 GB, free: 74.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/8.718, allocations: 1.245 MB / 3.621 GB, free: 73.34 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.005633/8.724, allocations: 5.008 MB / 3.626 GB, free: 67.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/8.725, allocations: 1.052 MB / 3.627 GB, free: 66.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/8.725, allocations: 198.8 kB / 3.627 GB, free: 66.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/8.725, allocations: 47.22 kB / 3.627 GB, free: 66.59 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=81): time 2.826e-06/8.725, allocations: 0 / 3.627 GB, free: 66.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.004799/8.73, allocations: 3.091 MB / 3.63 GB, free: 63.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/8.73, allocations: 68.33 kB / 3.63 GB, free: 63.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/8.731, allocations: 0.9032 MB / 3.631 GB, free: 62.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/8.731, allocations: 41.7 kB / 3.631 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002971/8.732, allocations: 0.5392 MB / 3.632 GB, free: 61.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/8.732, allocations: 303.6 kB / 3.632 GB, free: 61.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/8.732, allocations: 16 kB / 3.632 GB, free: 61.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/8.732, allocations: 341.9 kB / 3.632 GB, free: 61.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/8.732, allocations: 449.6 kB / 3.633 GB, free: 60.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/8.733, allocations: 0.6036 MB / 3.633 GB, free: 60.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/8.734, allocations: 0.5533 MB / 3.634 GB, free: 59.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/8.734, allocations: 0 / 3.634 GB, free: 59.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001495/8.735, allocations: 1.262 MB / 3.635 GB, free: 58.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001751/8.735, allocations: 0.7904 MB / 3.636 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/8.735, allocations: 7.953 kB / 3.636 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002191/8.735, allocations: 68.75 kB / 3.636 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/8.736, allocations: 190.2 kB / 3.636 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/8.738, allocations: 3.018 MB / 3.639 GB, free: 53.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/8.74, allocations: 143.6 kB / 3.639 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.598e-05/8.74, allocations: 28 kB / 3.639 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/8.74, allocations: 4 kB / 3.639 GB, free: 53.79 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001354/8.741, allocations: 1.133 MB / 3.64 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/8.741, allocations: 4 kB / 3.64 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001528/8.741, allocations: 69.06 kB / 3.64 GB, free: 52.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/8.742, allocations: 179.7 kB / 3.64 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/8.743, allocations: 1.831 MB / 3.642 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/8.745, allocations: 143.6 kB / 3.642 GB, free: 50.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/8.745, allocations: 32 kB / 3.642 GB, free: 50.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001111/8.746, allocations: 0.606 MB / 3.643 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002134/8.746, allocations: 118.6 kB / 3.643 GB, free: 49.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/8.748, allocations: 1.244 MB / 3.644 GB, free: 48.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/8.748, allocations: 11.66 kB / 3.644 GB, free: 48.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/8.748, allocations: 4 kB / 3.644 GB, free: 48.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/8.749, allocations: 1.28 MB / 3.646 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004131/8.753, allocations: 2.875 MB / 3.648 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/8.753, allocations: 4 kB / 3.648 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/8.754, allocations: 255.9 kB / 3.649 GB, free: 43.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/8.754, allocations: 68.81 kB / 3.649 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/8.754, allocations: 27.98 kB / 3.649 GB, free: 43.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/8.756, allocations: 3.007 MB / 3.652 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/8.756, allocations: 4 kB / 3.652 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/8.758, allocations: 2.118 MB / 3.654 GB, free: 38.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/8.759, allocations: 339.6 kB / 3.654 GB, free: 37.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/8.759, allocations: 23.98 kB / 3.654 GB, free: 37.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/8.76, allocations: 115.7 kB / 3.654 GB, free: 37.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.852e-05/8.76, allocations: 56.55 kB / 3.654 GB, free: 37.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/8.76, allocations: 27.98 kB / 3.654 GB, free: 37.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007881/8.761, allocations: 0.7277 MB / 3.655 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/8.761, allocations: 0 / 3.655 GB, free: 36.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002267/8.763, allocations: 0.8008 MB / 3.656 GB, free: 36.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004195/8.767, allocations: 4.466 MB / 3.66 GB, free: 31.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002612/8.77, allocations: 1.918 MB / 3.662 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/8.77, allocations: 0 / 3.662 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007468/8.771, allocations: 0.6946 MB / 3.663 GB, free: 28.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/8.774, allocations: 0.799 MB / 3.663 GB, free: 28.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/8.789, allocations: 10.08 MB / 3.673 GB, free: 17.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/8.791, allocations: 1.472 MB / 3.675 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002198/8.793, allocations: 0.6964 MB / 3.675 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007749/8.794, allocations: 467.3 kB / 3.676 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of SimCode: time 9.22e-07/8.794, allocations: 0 / 3.676 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.678/9.472, allocations: 59.07 MB / 3.734 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/9.472, allocations: 296.2 kB / 3.734 GB, free: 123.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.872/13.34, allocations: 4.422 kB / 3.734 GB, free: 123.3 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)