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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.6962/0.6962, 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.001017/0.001017, allocations: 189 kB / 187.3 MB, free: 11.88 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.241/1.241, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0008314/0.0008314, allocations: 95.61 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.001645/0.001645, allocations: 273.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.158e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3594, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.618/3.977, allocations: 1.88 GB / 2.644 GB, free: 167.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/3.977, allocations: 86.86 kB / 2.644 GB, free: 167.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.472/5.449, allocations: 463.9 MB / 3.097 GB, free: 147.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.303e-06/5.449, allocations: 0 / 3.097 GB, free: 147.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.98e-05/5.45, allocations: 33.44 kB / 3.097 GB, free: 147.1 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002086/5.452, allocations: 1.239 MB / 3.098 GB, free: 146.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/5.452, allocations: 13.47 kB / 3.098 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001412/5.452, allocations: 135.3 kB / 3.098 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/5.454, allocations: 307.5 kB / 3.099 GB, free: 146.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/5.455, allocations: 0.8194 MB / 3.1 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/5.455, allocations: 70.25 kB / 3.1 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/5.455, allocations: 89.78 kB / 3.1 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/5.456, allocations: 0.9453 MB / 3.101 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/5.456, allocations: 0 / 3.101 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/5.457, allocations: 43.03 kB / 3.101 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/5.457, allocations: 30.69 kB / 3.101 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/5.458, allocations: 0.764 MB / 3.101 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/5.462, allocations: 3.461 MB / 3.105 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/5.462, allocations: 458 kB / 3.105 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/5.463, allocations: 278.7 kB / 3.106 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/5.463, allocations: 98.39 kB / 3.106 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/5.463, allocations: 45.94 kB / 3.106 GB, free: 144.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.254e-06/5.463, allocations: 0 / 3.106 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002276/5.465, allocations: 1.39 MB / 3.107 GB, free: 144.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/5.465, allocations: 55.66 kB / 3.107 GB, free: 144.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006837/5.466, allocations: 0.6902 MB / 3.108 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/5.466, allocations: 42.8 kB / 3.108 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/5.466, allocations: 472.2 kB / 3.108 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/5.466, allocations: 175.1 kB / 3.108 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/5.466, allocations: 9.562 kB / 3.108 GB, free: 143.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/5.466, allocations: 335.1 kB / 3.109 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/5.467, allocations: 217.2 kB / 3.109 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/5.467, allocations: 365.2 kB / 3.109 GB, free: 143.5 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.002219/5.469, allocations: 0.9225 MB / 3.11 GB, free: 143.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/5.469, allocations: 0 / 3.11 GB, free: 143.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009853/5.47, allocations: 0.7349 MB / 3.111 GB, free: 143.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/5.47, allocations: 11.11 kB / 3.111 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/5.47, allocations: 3.875 kB / 3.111 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/5.47, allocations: 64.84 kB / 3.111 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/5.471, allocations: 138.6 kB / 3.111 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/5.472, allocations: 2.756 MB / 3.114 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/5.473, allocations: 66.17 kB / 3.114 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/5.473, allocations: 20.25 kB / 3.114 GB, free: 140.7 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: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001501/5.474, allocations: 146.5 kB / 3.114 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/5.474, allocations: 95.84 kB / 3.114 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/5.474, allocations: 98.67 kB / 3.114 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/5.474, allocations: 7.5 kB / 3.114 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/5.474, allocations: 3.391 kB / 3.114 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006721/5.475, allocations: 0.784 MB / 3.115 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/5.477, allocations: 1.695 MB / 3.117 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/5.477, allocations: 3.125 kB / 3.117 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/5.477, allocations: 122 kB / 3.117 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.755e-05/5.477, allocations: 32.19 kB / 3.117 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/5.477, allocations: 14.16 kB / 3.117 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000765/5.478, allocations: 1.408 MB / 3.118 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/5.478, allocations: 7.797 kB / 3.118 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/5.479, allocations: 1.155 MB / 3.119 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003623/5.48, allocations: 228.9 kB / 3.12 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/5.48, allocations: 25.17 kB / 3.12 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006852/5.48, allocations: 60.12 kB / 3.12 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/5.481, allocations: 42.33 kB / 3.12 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.757e-05/5.481, allocations: 33 kB / 3.12 GB, free: 137.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005252/5.481, allocations: 0.5378 MB / 3.12 GB, free: 137.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.481, allocations: 0 / 3.12 GB, free: 137.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001205/5.482, allocations: 390.6 kB / 3.121 GB, free: 137.6 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 (47): * Single equations (assignments): 46 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003135/5.485, allocations: 3.764 MB / 3.124 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001486/5.487, allocations: 0.7367 MB / 3.125 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/5.487, allocations: 4.938 kB / 3.125 GB, free: 135.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/5.488, allocations: 377.2 kB / 3.125 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/5.491, allocations: 0.5741 MB / 3.126 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/5.494, allocations: 1.576 MB / 3.127 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007566/5.494, allocations: 1.107 MB / 3.129 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008465/5.495, allocations: 212.3 kB / 3.129 GB, free: 133.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/5.496, allocations: 341.4 kB / 3.129 GB, free: 133.9 MB / 0.698 GB Notification: Performance of SimCode: time 9.32e-07/5.496, allocations: 1.438 kB / 3.129 GB, free: 133.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/5.561, allocations: 49.19 MB / 3.177 GB, free: 132.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/5.562, allocations: 253 kB / 3.177 GB, free: 131.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/8.764, allocations: 2.031 kB / 3.177 GB, free: 131.9 MB / 0.698 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)