Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.6985/0.6985, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 180.5 kB / 187.3 MB, free: 11.89 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.272/1.272, allocations: 221.3 MB / 441.4 MB, free: 4.648 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.0008084/0.0008084, allocations: 92.98 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001631/0.001631, allocations: 272.7 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.025e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.337, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.435/3.772, allocations: 1.879 GB / 2.644 GB, free: 167.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/3.773, allocations: 87.95 kB / 2.644 GB, free: 167.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.51/5.283, allocations: 462.3 MB / 3.095 GB, free: 147.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.113e-06/5.283, allocations: 14.19 kB / 3.095 GB, free: 147.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.38e-05/5.283, allocations: 23.94 kB / 3.095 GB, free: 147.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002002/5.285, allocations: 1.249 MB / 3.096 GB, free: 147 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/5.285, allocations: 6.812 kB / 3.096 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/5.285, allocations: 133.7 kB / 3.097 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/5.287, allocations: 320.1 kB / 3.097 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/5.288, allocations: 0.8254 MB / 3.098 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/5.288, allocations: 64.38 kB / 3.098 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/5.288, allocations: 86.47 kB / 3.098 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/5.29, allocations: 0.9362 MB / 3.099 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/5.29, allocations: 0 / 3.099 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.323e-05/5.29, allocations: 41.47 kB / 3.099 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/5.29, allocations: 39.2 kB / 3.099 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009966/5.291, allocations: 0.7495 MB / 3.1 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003955/5.295, allocations: 3.463 MB / 3.103 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/5.295, allocations: 475.6 kB / 3.103 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/5.296, allocations: 263 kB / 3.104 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/5.296, allocations: 100.6 kB / 3.104 GB, free: 145.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/5.296, allocations: 44.55 kB / 3.104 GB, free: 145.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.044e-06/5.296, allocations: 0 / 3.104 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002347/5.298, allocations: 1.406 MB / 3.105 GB, free: 144.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/5.298, allocations: 62.95 kB / 3.105 GB, free: 144.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/5.299, allocations: 0.6922 MB / 3.106 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/5.299, allocations: 39.61 kB / 3.106 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/5.299, allocations: 479.1 kB / 3.106 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/5.299, allocations: 175.6 kB / 3.107 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/5.299, allocations: 7.812 kB / 3.107 GB, free: 144.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.518e-05/5.3, allocations: 330.7 kB / 3.107 GB, free: 143.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/5.3, allocations: 206.8 kB / 3.107 GB, free: 143.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/5.3, allocations: 350.6 kB / 3.107 GB, free: 143.7 MB / 0.698 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.002358/5.302, allocations: 0.9478 MB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.302, allocations: 3.125 kB / 3.108 GB, free: 143.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001152/5.304, allocations: 0.7433 MB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/5.304, allocations: 4.438 kB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/5.304, allocations: 4 kB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/5.304, allocations: 96.56 kB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/5.305, allocations: 131.1 kB / 3.109 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/5.307, allocations: 2.944 MB / 3.112 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/5.308, allocations: 58.39 kB / 3.112 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.939e-05/5.308, allocations: 31.27 kB / 3.112 GB, free: 141 MB / 0.698 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: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001671/5.308, allocations: 142.8 kB / 3.112 GB, free: 140.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/5.308, allocations: 95.62 kB / 3.113 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/5.308, allocations: 99 kB / 3.113 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/5.308, allocations: 3.812 kB / 3.113 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/5.308, allocations: 2.531 kB / 3.113 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008418/5.309, allocations: 0.81 MB / 3.113 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/5.311, allocations: 1.704 MB / 3.115 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/5.311, allocations: 3.953 kB / 3.115 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/5.312, allocations: 115.1 kB / 3.115 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/5.312, allocations: 68.86 kB / 3.115 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/5.312, allocations: 13.53 kB / 3.115 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/5.313, allocations: 1.589 MB / 3.117 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/5.313, allocations: 5.375 kB / 3.117 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/5.314, allocations: 1.174 MB / 3.118 GB, free: 138.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/5.315, allocations: 231.9 kB / 3.118 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.429e-05/5.315, allocations: 18.73 kB / 3.118 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/5.316, allocations: 65.91 kB / 3.118 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/5.316, allocations: 43.27 kB / 3.118 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/5.316, allocations: 29.56 kB / 3.118 GB, free: 138 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006336/5.316, allocations: 0.5366 MB / 3.119 GB, free: 137.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/5.316, allocations: 6.219 kB / 3.119 GB, free: 137.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001358/5.318, allocations: 399.8 kB / 3.119 GB, free: 137.9 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003517/5.321, allocations: 3.775 MB / 3.123 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001047/5.322, allocations: 0.736 MB / 3.124 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/5.322, allocations: 2.219 kB / 3.124 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000545/5.323, allocations: 385 kB / 3.124 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/5.326, allocations: 0.5716 MB / 3.125 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/5.328, allocations: 1.568 MB / 3.126 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/5.329, allocations: 1.11 MB / 3.127 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007723/5.33, allocations: 215.9 kB / 3.127 GB, free: 134.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/5.33, allocations: 341.5 kB / 3.128 GB, free: 134.2 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/5.33, allocations: 0 / 3.128 GB, free: 134.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06107/5.391, allocations: 49.73 MB / 3.176 GB, free: 132.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/5.391, allocations: 250.2 kB / 3.177 GB, free: 132.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/8.587, allocations: 0 / 3.177 GB, free: 132.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)