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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7783/0.7783, 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.001025/0.001025, allocations: 175.6 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.416/1.416, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.001017/0.001017, allocations: 96.44 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00183/0.00183, allocations: 279.8 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.746e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4813, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.397, allocations: 1.879 GB / 2.644 GB, free: 168.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/5.397, allocations: 87.89 kB / 2.644 GB, free: 168 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.772/7.169, allocations: 462.3 MB / 3.095 GB, free: 147 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/7.169, allocations: 0 / 3.095 GB, free: 147 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.786e-05/7.169, allocations: 34.72 kB / 3.095 GB, free: 147 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.002548/7.172, allocations: 1.252 MB / 3.096 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/7.172, allocations: 10.22 kB / 3.096 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/7.174, allocations: 310.2 kB / 3.097 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/7.176, allocations: 0.8223 MB / 3.097 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/7.176, allocations: 67.34 kB / 3.098 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/7.176, allocations: 83.25 kB / 3.098 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/7.177, allocations: 0.9445 MB / 3.099 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/7.177, allocations: 0 / 3.099 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/7.177, allocations: 40.34 kB / 3.099 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/7.177, allocations: 35.45 kB / 3.099 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/7.178, allocations: 0.7514 MB / 3.099 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004662/7.183, allocations: 3.459 MB / 3.103 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/7.184, allocations: 469.6 kB / 3.103 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/7.184, allocations: 270.8 kB / 3.103 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/7.184, allocations: 103.7 kB / 3.104 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/7.184, allocations: 44.69 kB / 3.104 GB, free: 144.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.284e-06/7.184, allocations: 0 / 3.104 GB, free: 144.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002888/7.187, allocations: 1.409 MB / 3.105 GB, free: 144.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/7.187, allocations: 61.31 kB / 3.105 GB, free: 144.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/7.188, allocations: 0.6863 MB / 3.106 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/7.188, allocations: 39.83 kB / 3.106 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/7.188, allocations: 481.4 kB / 3.106 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/7.189, allocations: 169.9 kB / 3.106 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/7.189, allocations: 17.69 kB / 3.106 GB, free: 143.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/7.189, allocations: 328.2 kB / 3.107 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/7.189, allocations: 214.5 kB / 3.107 GB, free: 143.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/7.189, allocations: 352.5 kB / 3.107 GB, free: 143.3 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.002551/7.192, allocations: 0.939 MB / 3.108 GB, free: 143.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.192, allocations: 1.562 kB / 3.108 GB, free: 143.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001256/7.193, allocations: 0.7529 MB / 3.109 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/7.193, allocations: 7.75 kB / 3.109 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/7.193, allocations: 3.938 kB / 3.109 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/7.194, allocations: 87.95 kB / 3.109 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/7.194, allocations: 126.9 kB / 3.109 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/7.196, allocations: 2.949 MB / 3.112 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/7.197, allocations: 58.2 kB / 3.112 GB, free: 140.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.812e-05/7.197, allocations: 25.78 kB / 3.112 GB, free: 140.6 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.0001773/7.197, allocations: 143 kB / 3.112 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/7.198, allocations: 93.91 kB / 3.112 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/7.198, allocations: 102.9 kB / 3.112 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/7.198, allocations: 3.969 kB / 3.112 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/7.198, allocations: 3.844 kB / 3.112 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008739/7.199, allocations: 0.8052 MB / 3.113 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/7.202, allocations: 1.706 MB / 3.115 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/7.202, allocations: 3.781 kB / 3.115 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/7.202, allocations: 114 kB / 3.115 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/7.202, allocations: 66.08 kB / 3.115 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/7.202, allocations: 14.72 kB / 3.115 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/7.204, allocations: 1.588 MB / 3.117 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/7.204, allocations: 7.312 kB / 3.117 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/7.205, allocations: 1.172 MB / 3.118 GB, free: 137.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005456/7.206, allocations: 230.9 kB / 3.118 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/7.206, allocations: 16.59 kB / 3.118 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/7.207, allocations: 62.39 kB / 3.118 GB, free: 137.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/7.207, allocations: 40.62 kB / 3.118 GB, free: 137.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/7.207, allocations: 32.5 kB / 3.118 GB, free: 137.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007752/7.208, allocations: 0.5389 MB / 3.119 GB, free: 137.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.533e-06/7.208, allocations: 0 / 3.119 GB, free: 137.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001522/7.209, allocations: 406.2 kB / 3.119 GB, free: 137.5 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.002092/7.212, allocations: 1.27 MB / 3.12 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00129/7.213, allocations: 0.7348 MB / 3.121 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/7.213, allocations: 6.188 kB / 3.121 GB, free: 137 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005844/7.213, allocations: 385.2 kB / 3.121 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/7.216, allocations: 0.5728 MB / 3.122 GB, free: 136.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/7.22, allocations: 1.348 MB / 3.123 GB, free: 136.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/7.22, allocations: 1.108 MB / 3.124 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001039/7.221, allocations: 210.2 kB / 3.124 GB, free: 135.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/7.222, allocations: 64.69 kB / 3.125 GB, free: 135.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/7.222, allocations: 0 / 3.125 GB, free: 135.7 MB / 0.698 GB Notification: Performance of Templates: time 0.05086/7.272, allocations: 37.3 MB / 3.161 GB, free: 134.4 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)