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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8629/0.8629, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001481/0.00148, allocations: 183.4 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.805/1.805, allocations: 223.2 MB / 447.7 MB, free: 4.809 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.001437/0.001436, allocations: 103.5 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 274.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004783, allocations: 13.78 kB / 0.6929 GB, free: 59.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1967, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.023/4.219, allocations: 1.88 GB / 2.653 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/4.22, allocations: 94.33 kB / 2.653 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.149/5.368, allocations: 464.3 MB / 3.107 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.413e-06/5.368, allocations: 0 / 3.107 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.362e-05/5.368, allocations: 31.98 kB / 3.107 GB, free: 19.48 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002362/5.371, allocations: 1.372 MB / 3.108 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/5.371, allocations: 8.031 kB / 3.108 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/5.373, allocations: 315.8 kB / 3.109 GB, free: 17.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/5.374, allocations: 0.8315 MB / 3.109 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/5.374, allocations: 66 kB / 3.11 GB, free: 16.81 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/5.374, allocations: 84 kB / 3.11 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/5.376, allocations: 0.9742 MB / 3.111 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/5.376, allocations: 3.938 kB / 3.111 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/5.376, allocations: 40 kB / 3.111 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/5.376, allocations: 33.94 kB / 3.111 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/5.377, allocations: 0.812 MB / 3.111 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004273/5.381, allocations: 3.462 MB / 3.115 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/5.382, allocations: 486.6 kB / 3.115 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/5.382, allocations: 101.5 kB / 3.115 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/5.382, allocations: 46.91 kB / 3.115 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/5.382, allocations: 3.938 kB / 3.115 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003301/5.385, allocations: 1.83 MB / 3.117 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/5.385, allocations: 55.84 kB / 3.117 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007391/5.386, allocations: 0.6995 MB / 3.118 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.979e-05/5.386, allocations: 37.7 kB / 3.118 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/5.387, allocations: 475.2 kB / 3.118 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/5.387, allocations: 173.6 kB / 3.119 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/5.387, allocations: 8 kB / 3.119 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/5.387, allocations: 338 kB / 3.119 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/5.387, allocations: 233.2 kB / 3.119 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004159/5.388, allocations: 386.3 kB / 3.119 GB, free: 6.117 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.002501/5.39, allocations: 0.968 MB / 3.12 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.39, allocations: 0 / 3.12 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001094/5.391, allocations: 0.7729 MB / 3.121 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/5.391, allocations: 8 kB / 3.121 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/5.391, allocations: 7.953 kB / 3.121 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/5.391, allocations: 57.94 kB / 3.121 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/5.392, allocations: 135.8 kB / 3.121 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/5.394, allocations: 2.795 MB / 3.124 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/5.395, allocations: 67.97 kB / 3.124 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/5.395, allocations: 23.98 kB / 3.124 GB, free: 0.9883 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 (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.0004344/5.395, allocations: 301.6 kB / 3.125 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/5.395, allocations: 98.91 kB / 3.125 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/5.395, allocations: 96.48 kB / 3.125 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/5.395, allocations: 4 kB / 3.125 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/5.395, allocations: 0 / 3.125 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3458/5.741, allocations: 0.8175 MB / 3.125 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/5.744, allocations: 1.717 MB / 3.127 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/5.744, allocations: 5.5 kB / 3.127 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/5.745, allocations: 114.5 kB / 3.127 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.35e-05/5.745, allocations: 34.98 kB / 3.127 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/5.745, allocations: 16.05 kB / 3.127 GB, free: 150.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008882/5.746, allocations: 1.43 MB / 3.129 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/5.746, allocations: 8.969 kB / 3.129 GB, free: 148.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/5.747, allocations: 1.204 MB / 3.13 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/5.748, allocations: 229.6 kB / 3.13 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/5.748, allocations: 15.91 kB / 3.13 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/5.749, allocations: 60.25 kB / 3.13 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/5.749, allocations: 43.19 kB / 3.13 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.859e-05/5.749, allocations: 32.48 kB / 3.13 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006803/5.75, allocations: 0.5484 MB / 3.131 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.11e-07/5.75, allocations: 2.938 kB / 3.131 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00136/5.751, allocations: 384.1 kB / 3.131 GB, free: 148.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 (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.001996/5.753, allocations: 1.272 MB / 3.132 GB, free: 147.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001386/5.755, allocations: 0.7803 MB / 3.133 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/5.755, allocations: 4.062 kB / 3.133 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005162/5.755, allocations: 393.6 kB / 3.134 GB, free: 147.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002619/5.758, allocations: 0.5704 MB / 3.134 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/5.761, allocations: 2.135 MB / 3.136 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/5.761, allocations: 1.103 MB / 3.137 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00103/5.762, allocations: 216.6 kB / 3.137 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/5.762, allocations: 66.72 kB / 3.138 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/5.762, allocations: 2.781 kB / 3.138 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.04936/5.812, allocations: 33.35 MB / 3.17 GB, free: 145.2 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1)